-/* $OpenBSD: kdump.c,v 1.4 1996/06/26 05:34:43 deraadt Exp $ */
+/* $OpenBSD: kdump.c,v 1.5 1996/12/10 15:42:38 deraadt Exp $ */
/*-
* Copyright (c) 1988, 1993
#if 0
static char sccsid[] = "@(#)kdump.c 8.4 (Berkeley) 4/28/95";
#endif
-static char *rcsid = "$OpenBSD: kdump.c,v 1.4 1996/06/26 05:34:43 deraadt Exp $";
+static char *rcsid = "$OpenBSD: kdump.c,v 1.5 1996/12/10 15:42:38 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
default:
usage();
}
- argv += optind;
- argc -= optind;
-
- if (argc > 1)
+ if (argc > optind)
usage();
m = (void *)malloc(size = 1025);