diff options
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r-- | sys/kern/subr_prf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index b2715e5..0932081 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)subr_prf.c 8.3 (Berkeley) 1/21/94 - * $Id: subr_prf.c,v 1.47 1998/07/08 10:41:32 bde Exp $ + * $Id: subr_prf.c,v 1.48 1998/07/15 02:32:11 bde Exp $ */ #include <sys/param.h> @@ -497,7 +497,7 @@ reswitch: switch (ch = (u_char)*fmt++) { case 'p': ul = (uintptr_t)va_arg(ap, void *); base = 16; - sharpflag = 1; + sharpflag = (width == 0); goto nosign; case 'n': case 'r': |