Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Make this compile on arm



details:   https://anonhg.NetBSD.org/src/rev/1225ae6d5c58
branches:  trunk
changeset: 979163:1225ae6d5c58
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Dec 18 07:40:27 2020 +0000

description:
Make this compile on arm

diffstat:

 sys/arch/arm/arm/efi_runtime.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 8dff4f236636 -r 1225ae6d5c58 sys/arch/arm/arm/efi_runtime.c
--- a/sys/arch/arm/arm/efi_runtime.c    Fri Dec 18 07:37:21 2020 +0000
+++ b/sys/arch/arm/arm/efi_runtime.c    Fri Dec 18 07:40:27 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: efi_runtime.c,v 1.4 2020/09/08 17:20:10 jmcneill Exp $ */
+/* $NetBSD: efi_runtime.c,v 1.5 2020/12/18 07:40:27 skrll Exp $ */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: efi_runtime.c,v 1.4 2020/09/08 17:20:10 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: efi_runtime.c,v 1.5 2020/12/18 07:40:27 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/mutex.h>
@@ -67,8 +67,8 @@
 
        ST = (void *)(va + (efi_system_table - trunc_page(efi_system_table)));
        if (ST->st_hdr.th_sig != EFI_SYSTBL_SIG) {
-               aprint_error("EFI: signature mismatch (%#lx != %#lx)\n",
-                   ST->st_hdr.th_sig, EFI_SYSTBL_SIG);
+               aprint_error("EFI: signature mismatch (%#" PRIx64 " != %#"
+                   PRIx64 ")\n", ST->st_hdr.th_sig, EFI_SYSTBL_SIG);
                return EINVAL;
        }
 



Home | Main Index | Thread Index | Old Index