diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -186,11 +186,11 @@ main (int argc, char **argv) act.sa_handler = SIG_IGN; act.sa_mask = empty_mask; act.sa_flags = 0; - if (sigaction (SIGPIPE, &act, 0) < 0) + if (sigaction (SIGPIPE, &act, NULL) < 0) g_printerr ("Failed to register SIGPIPE handler: %s\n", g_strerror (errno)); #ifdef SIGXFSZ - if (sigaction (SIGXFSZ, &act, 0) < 0) + if (sigaction (SIGXFSZ, &act, NULL) < 0) g_printerr ("Failed to register SIGXFSZ handler: %s\n", g_strerror (errno)); #endif |