aboutsummaryrefslogtreecommitdiffstats
path: root/udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev.c')
-rw-r--r--udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev.c b/udev.c
index 974b9582..78da715f 100644
--- a/udev.c
+++ b/udev.c
@@ -153,7 +153,7 @@ int main(int argc, char *argv[], char *envp[])
}
/* set signal handlers */
- act.sa_handler = sig_handler;
+ act.sa_handler = (void (*) (int))sig_handler;
sigemptyset (&act.sa_mask);
/* alarm must interrupt syscalls*/