summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-10-02 07:13:10 +0000
committermsmith <msmith@FreeBSD.org>2000-10-02 07:13:10 +0000
commit2c511bc3643abe9802cbd0bac1d7248598cde736 (patch)
treedc7c9588c5eb2fe9922fbd76b6466e122711d044 /sys
parent2922dcb255d814cdc46a8f0b407a38138b0a7f66 (diff)
downloadFreeBSD-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.c1
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)
OpenPOWER on IntegriCloud