diff options
author | bde <bde@FreeBSD.org> | 1997-07-06 04:02:30 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-07-06 04:02:30 +0000 |
commit | 8e49bc41a2ccf2ebdd927af9395913f3da1156d1 (patch) | |
tree | 84177f8a2d33d775d16c7cabc1f608f3f5fc2753 /usr.bin/systat/cmds.c | |
parent | aed802936a4247991924cea2c0ff32b112a22f0b (diff) | |
download | FreeBSD-src-8e49bc41a2ccf2ebdd927af9395913f3da1156d1.zip FreeBSD-src-8e49bc41a2ccf2ebdd927af9395913f3da1156d1.tar.gz |
Import Lite2's src/usr.bin/systat. cmds.c is still on the vendor branch
and this import just breaks it.
Diffstat (limited to 'usr.bin/systat/cmds.c')
-rw-r--r-- | usr.bin/systat/cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/cmds.c b/usr.bin/systat/cmds.c index 4987c2c..e374e3f 100644 --- a/usr.bin/systat/cmds.c +++ b/usr.bin/systat/cmds.c @@ -32,7 +32,7 @@ */ #ifndef lint -static char sccsid[] = "@(#)cmds.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "@(#)cmds.c 8.2 (Berkeley) 4/29/95"; #endif /* not lint */ #include <stdlib.h> @@ -165,7 +165,7 @@ lookup(name) nmatches++; } } - if (nmatches > 1) + if (nmatches != 1) return ((struct cmdtab *)-1); return (found); } |