Module Name: src
Committed By: andvar
Date: Fri Sep 1 06:16:45 UTC 2023
Modified Files:
src/sys/arch/emips/emips: machdep.c
Log Message:
fix format specifiers for emips PHYSMEMDEBUG build option.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/emips/emips/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/emips/emips/machdep.c
diff -u src/sys/arch/emips/emips/machdep.c:1.17 src/sys/arch/emips/emips/machdep.c:1.18
--- src/sys/arch/emips/emips/machdep.c:1.17 Thu Jun 11 19:20:43 2020
+++ src/sys/arch/emips/emips/machdep.c Fri Sep 1 06:16:45 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.17 2020/06/11 19:20:43 ad Exp $ */
+/* $NetBSD: machdep.c,v 1.18 2023/09/01 06:16:45 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2020/06/11 19:20:43 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.18 2023/09/01 06:16:45 andvar Exp $");
#include "opt_ddb.h"
@@ -389,7 +389,7 @@ mips_map_physmem(paddr_t phys, vsize_t s
}
ioaccess(addr, phys, size);
#ifdef PHYSMEMDEBUG
- printf("mips_map_physmem: alloc'ed %lx bytes for paddr %lx, at %lx\n",
+ printf("mips_map_physmem: alloc'ed %x bytes for paddr %x, at %x\n",
size, phys, addr);
#endif
return addr | (phys & PAGE_MASK);
@@ -402,7 +402,7 @@ void
mips_unmap_physmem(vaddr_t addr, vsize_t size)
{
#ifdef PHYSMEMDEBUG
- printf("mips_unmap_physmem: unmapping %lx bytes at addr %lx\n",
+ printf("mips_unmap_physmem: unmapping %x bytes at addr %x\n",
size, addr);
#endif
size += addr & PAGE_MASK;