summaryrefslogtreecommitdiff
path: root/usr.bin/cksum
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-11-09 05:47:55 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-11-09 05:47:55 +0000
commit8f31d7ef7086bdd6bf2010887140d8e43a3b931b (patch)
tree787f977202ccd693fc0784ed0bac5dba248e0587 /usr.bin/cksum
parentd40fea8c06f4bfa04c46514a4f07c43d6b7a9d1d (diff)
downloadsrc-test2-8f31d7ef7086bdd6bf2010887140d8e43a3b931b.tar.gz
src-test2-8f31d7ef7086bdd6bf2010887140d8e43a3b931b.zip
Notes
Diffstat (limited to 'usr.bin/cksum')
-rw-r--r--usr.bin/cksum/cksum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cksum/cksum.c b/usr.bin/cksum/cksum.c
index 4c654cbda3de..1a4d20709218 100644
--- a/usr.bin/cksum/cksum.c
+++ b/usr.bin/cksum/cksum.c
@@ -45,7 +45,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)cksum.c 8.2 (Berkeley) 4/28/95";
#endif
static const char rcsid[] =
- "$Id: cksum.c,v 1.6 1997/09/26 08:02:17 phk Exp $";
+ "$Id: cksum.c,v 1.7 1997/11/09 05:35:26 obrien Exp $";
#endif /* not lint */
#include <sys/cdefs.h>
@@ -81,6 +81,7 @@ main(argc, argv)
if (!strcmp(p, "sum")) {
cfncn = csum1;
pfncn = psum1;
+ ++argv;
} else {
cfncn = crc;
pfncn = pcrc;