---
 dm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dm.c b/dm.c
index adfa97e..3ee74c3 100644
--- a/dm.c
+++ b/dm.c
@@ -286,7 +286,7 @@ dm_known_ioctl(struct tcb *tcp, const unsigned int code, 
long arg)
        char *extra = NULL;
        uint32_t extra_size = 0;
 
-       if (umoven(tcp, arg, sizeof(ioc) - sizeof(ioc.data), (char *) &ioc) < 0)
+       if (umoven(tcp, arg, sizeof(ioc) - sizeof(ioc.data), &ioc) < 0)
                return 0;
        tprintf(", {version=%d.%d.%d", ioc.version[0], ioc.version[1],
                ioc.version[2]);
-- 
1.7.10.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to