From 32e338492927b7c46a1e587f49d168578b3b5bdd Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 21 Dec 2017 06:55:22 +0000 Subject: [PATCH] Do not use %hx for chars, ok kettenis --- sys/dev/softraid.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index 6923962d32f..806c3e33f61 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.387 2017/12/20 02:02:31 krw Exp $ */ +/* $OpenBSD: softraid.c,v 1.388 2017/12/21 06:55:22 deraadt Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Marco Peereboom * Copyright (c) 2008 Chris Kuethe @@ -1532,8 +1532,8 @@ sr_map_root(void) memcpy(rootduid, sbm->sbm_root_duid, sizeof(rootduid)); DNPRINTF(SR_D_MISC, "%s: root duid " - "mapped to %02hx%02hx%02hx%02hx" - "%02hx%02hx%02hx%02hx\n", + "mapped to %0x%0x%02x%02x" + "%02x%02x%02x%02x\n", DEVNAME(sc), rootduid[0], rootduid[1], rootduid[2], rootduid[3], rootduid[4], -- 2.20.1