Module Name: src
Committed By: rin
Date: Wed Jul 15 15:08:26 UTC 2020
Modified Files:
src/sys/uvm: uvm_physseg.c
Log Message:
Fix typo. Use PRIxPADDR rather than casting.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/uvm/uvm_physseg.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/uvm/uvm_physseg.c
diff -u src/sys/uvm/uvm_physseg.c:1.16 src/sys/uvm/uvm_physseg.c:1.17
--- src/sys/uvm/uvm_physseg.c:1.16 Mon Jul 13 10:46:10 2020
+++ src/sys/uvm/uvm_physseg.c Wed Jul 15 15:08:26 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_physseg.c,v 1.16 2020/07/13 10:46:10 mrg Exp $ */
+/* $NetBSD: uvm_physseg.c,v 1.17 2020/07/15 15:08:26 rin Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -1209,8 +1209,8 @@ uvm_page_physload(paddr_t start, paddr_t
if (free_list >= VM_NFREELIST || free_list < VM_FREELIST_DEFAULT)
panic("uvm_page_physload: bad free list %d", free_list);
if (start >= end)
- panic("uvm_page_physload: start[%llx] >= en[%llx]d",
- (unsigned long long)start, (unsigned long long)end);
+ panic("uvm_page_physload: start[%" PRIxPADDR "] >= end[%"
+ PRIxPADDR "]", start, end);
if (uvm_physseg_plug(start, end - start, &upm) == false) {
panic("uvm_physseg_plug() failed at boot.");