From e0c4f3147eda2504503d17dc038dc2ebbff57800 Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 3 Sep 2006 17:06:36 +0000 Subject: [PATCH] Fix %X in kernel printf, from Arnaud Degroote in PR kern/34459. --- sys/kern/subr_prf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 14f371a4d6f0..720794a5b0cd 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr_prf.c,v 1.102 2006/01/28 14:37:31 darrenr Exp $ */ +/* $NetBSD: subr_prf.c,v 1.103 2006/09/03 17:06:36 martin Exp $ */ /*- * Copyright (c) 1986, 1988, 1991, 1993 @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.102 2006/01/28 14:37:31 darrenr Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_prf.c,v 1.103 2006/09/03 17:06:36 martin Exp $"); #include "opt_ddb.h" #include "opt_ipkdb.h" @@ -1264,7 +1264,7 @@ reswitch: switch (ch) { base = DEC; goto nosign; case 'X': - xdigs = hexdigits; + xdigs = HEXDIGITS; goto hex; case 'x': xdigs = hexdigits;