diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/synclient.c | 2 | ||||
-rw-r--r-- | tools/syndaemon.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/synclient.c b/tools/synclient.c index 7977d89..7ec8fa9 100644 --- a/tools/synclient.c +++ b/tools/synclient.c @@ -123,7 +123,7 @@ static struct Parameter params[] = { DEFINE_PAR("PressureMotionMinFactor", press_motion_min_factor, PT_DOUBLE, 0, 10.0), DEFINE_PAR("PressureMotionMaxFactor", press_motion_max_factor, PT_DOUBLE, 0, 10.0), DEFINE_PAR("GrabEventDevice", grab_event_device, PT_BOOL, 0, 1), - { 0, 0, 0, 0, 0 } + { NULL, 0, 0, 0, 0 } }; static void diff --git a/tools/syndaemon.c b/tools/syndaemon.c index 9e3ad98..2662bb5 100644 --- a/tools/syndaemon.c +++ b/tools/syndaemon.c @@ -113,7 +113,7 @@ install_signal_handler() #endif for (i = 0; i < sizeof(signals) / sizeof(int); i++) { - if (sigaction(signals[i], &act, 0) == -1) { + if (sigaction(signals[i], &act, NULL) == -1) { perror("sigaction"); exit(2); } |