Fix one warning - still not warns clean.

This commit is contained in:
David Malone 2001-12-03 21:32:01 +00:00
parent 47e68d542a
commit 0050672a16
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87300

View File

@ -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);