about summary refs log tree commit diff
path: root/time/clocktest.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/clocktest.c')
-rw-r--r--time/clocktest.c2
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);