aboutsummaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/clocktest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/clocktest.c b/time/clocktest.c
index 55852a3..65cd938 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);