Module Name: src Committed By: andvar Date: Sat Dec 23 23:00:09 UTC 2023
Modified Files: src/sys/arch/evbarm/adi_brh: brh_machdep.c Log Message: Fix physmem printf format specifier %d->%ld. Fixes VERBOSE_INIT_ARM enabled build for ADI_BRH kernel config. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/evbarm/adi_brh/brh_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/evbarm/adi_brh/brh_machdep.c diff -u src/sys/arch/evbarm/adi_brh/brh_machdep.c:1.53 src/sys/arch/evbarm/adi_brh/brh_machdep.c:1.54 --- src/sys/arch/evbarm/adi_brh/brh_machdep.c:1.53 Thu Oct 12 11:33:37 2023 +++ src/sys/arch/evbarm/adi_brh/brh_machdep.c Sat Dec 23 23:00:09 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: brh_machdep.c,v 1.53 2023/10/12 11:33:37 skrll Exp $ */ +/* $NetBSD: brh_machdep.c,v 1.54 2023/12/23 23:00:09 andvar Exp $ */ /* * Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc. @@ -73,7 +73,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: brh_machdep.c,v 1.53 2023/10/12 11:33:37 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: brh_machdep.c,v 1.54 2023/12/23 23:00:09 andvar Exp $"); #include "opt_arm_debug.h" #include "opt_console.h" @@ -407,7 +407,7 @@ initarm(void *arg) #ifdef VERBOSE_INIT_ARM /* Tell the user about the memory */ - printf("physmemory: %d pages at 0x%08lx -> 0x%08lx\n", physmem, + printf("physmemory: %ld pages at 0x%08lx -> 0x%08lx\n", physmem, physical_start, physical_end - 1); #endif