summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/cmds.c4
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);
}
OpenPOWER on IntegriCloud