From 0050672a1678461656558953954eeefd7d2c88ac Mon Sep 17 00:00:00 2001 From: David Malone Date: Mon, 3 Dec 2001 21:32:01 +0000 Subject: [PATCH] Fix one warning - still not warns clean. --- usr.bin/time/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/time/time.c b/usr.bin/time/time.c index 2bf61d5bbeba..8bbf737f7f16 100644 --- a/usr.bin/time/time.c +++ b/usr.bin/time/time.c @@ -219,7 +219,7 @@ main(argc, argv) ru.ru_nivcsw, "involuntary context switches"); } if (exitonsig) { - if (signal(exitonsig, SIG_DFL) < 0) + if (signal(exitonsig, SIG_DFL) == SIG_ERR) perror("signal"); else kill(getpid(), exitonsig);