summaryrefslogtreecommitdiff
path: root/udev_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev_utils.c')
-rw-r--r--udev_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_utils.c b/udev_utils.c
index 64a7ba9caa..c35b287881 100644
--- a/udev_utils.c
+++ b/udev_utils.c
@@ -247,7 +247,7 @@ int file_map(const char *filename, char **buf, size_t *bufsize)
return 0;
}
-void file_unmap(char *buf, size_t bufsize)
+void file_unmap(void *buf, size_t bufsize)
{
munmap(buf, bufsize);
}