summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fd3b040)
SCCS-vsn: usr.sbin/kvm_mkdb/kvm_mkdb.c 5.13
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)kvm_mkdb.c 5.12 (Berkeley) %G%";
+static char sccsid[] = "@(#)kvm_mkdb.c 5.13 (Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
argc -= optind;
argv += optind;
argc -= optind;
argv += optind;
+ if (argc > 1)
+ usage();
+
nlistpath = argc > 1 ? argv[0] : _PATH_UNIX;
nlistname = basename(nlistpath);
nlistpath = argc > 1 ? argv[0] : _PATH_UNIX;
nlistname = basename(nlistpath);