Skip to content

Commit

Permalink
Update test_dvkm.c
Browse files Browse the repository at this point in the history
how did i miss it?
  • Loading branch information
hardik05 authored Oct 24, 2024
1 parent 56acf96 commit ca19086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_dvkm.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ int main()
io_buffer.data = buf;

printf("Writing Value to Driver\n");
ret_val = ioctl(fd, IOCTL(0x2), io_buffer);
ret_val = ioctl(fd, IOCTL(0x2), &io_buffer);

/* printf("Reading Value from Driver\n");
ioctl(fd, RD_VALUE, (int32_t*) &value);
Expand Down

0 comments on commit ca19086

Please sign in to comment.