diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2004-03-15 08:54:55 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2004-03-15 08:54:55 +0000 |
commit | 2c629cfa2ed41bf1a375c79cfa17c0f4125128fb (patch) | |
tree | 348e3879b80e47182759d3082f26df42a9823bac /usr.sbin/amd | |
parent | 491b77f7b7d98b68ac0bd6711d8a73ad122d2cac (diff) |
iffy syntax; ok deraadt@
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r-- | usr.sbin/amd/amd/sched.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/amd/amd/sched.c b/usr.sbin/amd/amd/sched.c index ef7600c854d..41136ca6ed9 100644 --- a/usr.sbin/amd/amd/sched.c +++ b/usr.sbin/amd/amd/sched.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sched.c,v 1.10 2003/10/30 16:04:06 millert Exp $ */ +/* $OpenBSD: sched.c,v 1.11 2004/03/15 08:54:54 djm Exp $ */ /* * Copyright (c) 1990 Jan-Simon Pendry @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)sched.c 8.1 (Berkeley) 6/6/93 - * $Id: sched.c,v 1.10 2003/10/30 16:04:06 millert Exp $ + * $Id: sched.c,v 1.11 2004/03/15 08:54:54 djm Exp $ */ /* @@ -224,7 +224,8 @@ sigchld(int sig) } #ifdef DEBUG - if (p) ; else dlog("can't locate task block for pid %ld", (long)pid); + if (p == NULL) + dlog("can't locate task block for pid %ld", (long)pid); #endif /* DEBUG */ } |