Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 x86/efi: Print uuids in slightly more stand...



details:   https://anonhg.NetBSD.org/src/rev/4a643d4f7076
branches:  trunk
changeset: 370684:4a643d4f7076
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Sep 24 15:01:54 2022 +0000

description:
x86/efi: Print uuids in slightly more standard notation.

Anyone need a spare hyphen?  We had a few extras, apparently.

XXX pullup-8
XXX pullup-9

diffstat:

 sys/arch/x86/x86/efi_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1ff55419e237 -r 4a643d4f7076 sys/arch/x86/x86/efi_machdep.c
--- a/sys/arch/x86/x86/efi_machdep.c    Sat Sep 24 11:06:41 2022 +0000
+++ b/sys/arch/x86/x86/efi_machdep.c    Sat Sep 24 15:01:54 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efi_machdep.c,v 1.2 2022/09/24 11:05:18 riastradh Exp $        */
+/*     $NetBSD: efi_machdep.c,v 1.3 2022/09/24 15:01:54 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: efi_machdep.c,v 1.2 2022/09/24 11:05:18 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: efi_machdep.c,v 1.3 2022/09/24 15:01:54 riastradh Exp $");
 
 #include "efi.h"
 #include "opt_efi.h"
@@ -144,7 +144,7 @@
        aprint_debug("-%04" PRIx16 "", uuid->time_mid);
        aprint_debug("-%04" PRIx16 "", uuid->time_hi_and_version);
        aprint_debug("-%02" PRIx8 "", uuid->clock_seq_hi_and_reserved);
-       aprint_debug("-%02" PRIx8 "", uuid->clock_seq_low);
+       aprint_debug("%02" PRIx8 "", uuid->clock_seq_low);
        aprint_debug("-");
        for (i = 0; i < _UUID_NODE_LEN; i++) {
                aprint_debug("%02" PRIx8 "", uuid->node[i]);



Home | Main Index | Thread Index | Old Index