diff --git a/usr.bin/hexdump/display.c b/usr.bin/hexdump/display.c index 2ab68ea4af27..43ebd9011fe9 100644 --- a/usr.bin/hexdump/display.c +++ b/usr.bin/hexdump/display.c @@ -1,4 +1,4 @@ -/* $NetBSD: display.c,v 1.10 2001/02/15 18:16:12 christos Exp $ */ +/* $NetBSD: display.c,v 1.11 2001/12/07 13:37:39 bjh21 Exp $ */ /* * Copyright (c) 1989, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)display.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: display.c,v 1.10 2001/02/15 18:16:12 christos Exp $"); +__RCSID("$NetBSD: display.c,v 1.11 2001/12/07 13:37:39 bjh21 Exp $"); #endif #endif /* not lint */ @@ -125,8 +125,8 @@ print(pr, bp) double f8; float f4; int16_t s2; - int8_t s8; int32_t s4; + int64_t s8; u_int16_t u2; u_int32_t u4; u_int64_t u8; diff --git a/usr.bin/hexdump/parse.c b/usr.bin/hexdump/parse.c index 6d8e2d41d338..b83e1759cc23 100644 --- a/usr.bin/hexdump/parse.c +++ b/usr.bin/hexdump/parse.c @@ -1,4 +1,4 @@ -/* $NetBSD: parse.c,v 1.11 2001/02/07 18:32:07 christos Exp $ */ +/* $NetBSD: parse.c,v 1.12 2001/12/07 13:37:39 bjh21 Exp $ */ /* * Copyright (c) 1989, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: parse.c,v 1.11 2001/02/07 18:32:07 christos Exp $"); +__RCSID("$NetBSD: parse.c,v 1.12 2001/12/07 13:37:39 bjh21 Exp $"); #endif #endif /* not lint */ @@ -307,6 +307,9 @@ isint: cs[2] = '\0'; case 2: pr->bcnt = 2; break; + case 8: + pr->bcnt = 8; + break; default: p1[1] = '\0'; badcnt(p1);