aboutsummaryrefslogtreecommitdiff
path: root/dumpkmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'dumpkmap.c')
-rw-r--r--dumpkmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpkmap.c b/dumpkmap.c
index 4ce6e8698..13b7d8937 100644
--- a/dumpkmap.c
+++ b/dumpkmap.c
@@ -81,7 +81,7 @@ int dumpkmap_main(int argc, char **argv)
errorMsg("ioctl returned: %s, %s, %s, %xqq\n",strerror(errno),(char *)&ke.kb_index,(char *)&ke.kb_table,(int)&ke.kb_value);
}
else {
- write(1,&ke.kb_value,2);
+ write(1,(void*)&ke.kb_value,2);
}
}