diff options
author | msmith <msmith@FreeBSD.org> | 2000-10-02 07:13:10 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-10-02 07:13:10 +0000 |
commit | 2c511bc3643abe9802cbd0bac1d7248598cde736 (patch) | |
tree | dc7c9588c5eb2fe9922fbd76b6466e122711d044 /sys | |
parent | 2922dcb255d814cdc46a8f0b407a38138b0a7f66 (diff) | |
download | FreeBSD-src-2c511bc3643abe9802cbd0bac1d7248598cde736.zip FreeBSD-src-2c511bc3643abe9802cbd0bac1d7248598cde736.tar.gz |
Treat %X the same as %x (not entirely correct, but close enough).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_prf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index a989152..ad71e51 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -665,6 +665,7 @@ reswitch: switch (ch = (u_char)*fmt++) { base = 10; goto nosign; case 'x': + case 'X': if (qflag) uq = va_arg(ap, u_quad_t); else if (lflag) |