summaryrefslogtreecommitdiff
path: root/usr.bin/cmp
diff options
context:
space:
mode:
authorJonathan Lemon <jlemon@FreeBSD.org>1997-08-19 14:34:04 +0000
committerJonathan Lemon <jlemon@FreeBSD.org>1997-08-19 14:34:04 +0000
commit1e17b9450c7f28c7a16c0cd135b83c9cf055287b (patch)
treede1cb912e9b6c944783a5048aa137db731730861 /usr.bin/cmp
parent9c08ff38e51c8ff76c291a20222b3f3a1e9c5d79 (diff)
Notes
Diffstat (limited to 'usr.bin/cmp')
-rw-r--r--usr.bin/cmp/cmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cmp/cmp.c b/usr.bin/cmp/cmp.c
index 6755ff6d5eb6..da269d844a95 100644
--- a/usr.bin/cmp/cmp.c
+++ b/usr.bin/cmp/cmp.c
@@ -120,8 +120,8 @@ endargs:
exit(1);
}
- skip1 = argc > 2 ? strtol(argv[2], NULL, 10) : 0;
- skip2 = argc == 4 ? strtol(argv[3], NULL, 10) : 0;
+ skip1 = argc > 2 ? strtol(argv[2], NULL, 0) : 0;
+ skip2 = argc == 4 ? strtol(argv[3], NULL, 0) : 0;
if (!special) {
if (fstat(fd1, &sb1)) {