From ca1908642a324ede137353aefc4fd45f24271b7e Mon Sep 17 00:00:00 2001 From: Hardik Shah Date: Thu, 24 Oct 2024 23:26:58 +0530 Subject: [PATCH] Update test_dvkm.c how did i miss it? --- test_dvkm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_dvkm.c b/test_dvkm.c index 7244888..943c1ff 100644 --- a/test_dvkm.c +++ b/test_dvkm.c @@ -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);