This commit was generated by cvs2svn to compensate for changes in r27229,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
Bruce Evans 1997-07-06 04:02:30 +00:00
commit 94143ce785
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27230

View File

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