diff options
Diffstat (limited to 'time')
-rw-r--r-- | time/clocktest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/time/clocktest.c b/time/clocktest.c index 55852a314f..65cd938643 100644 --- a/time/clocktest.c +++ b/time/clocktest.c @@ -17,7 +17,7 @@ main (int argc, char ** argv) { clock_t start, stop; - if (signal(SIGALRM, alarm_handler) -- SIG_ERR) + if (signal(SIGALRM, alarm_handler) == SIG_ERR) { perror ("signal"); exit (1); |