Module Name: src
Committed By: andvar
Date: Fri Sep 20 21:46:15 UTC 2024
Modified Files:
src/sys/arch/pmax/pmax: dec_3maxplus.c
Log Message:
Change cookie format specifier to %p and remove casting, like in dec_3min.c
and dec_maxine.c, missed in the matt-nb5-mips64 merge.
Fixes pmax64 DIAGNOSTIC enabled build for this file.
To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/pmax/pmax/dec_3maxplus.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/pmax/pmax/dec_3maxplus.c
diff -u src/sys/arch/pmax/pmax/dec_3maxplus.c:1.72 src/sys/arch/pmax/pmax/dec_3maxplus.c:1.73
--- src/sys/arch/pmax/pmax/dec_3maxplus.c:1.72 Mon Feb 5 22:08:05 2024
+++ src/sys/arch/pmax/pmax/dec_3maxplus.c Fri Sep 20 21:46:15 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: dec_3maxplus.c,v 1.72 2024/02/05 22:08:05 andvar Exp $ */
+/* $NetBSD: dec_3maxplus.c,v 1.73 2024/09/20 21:46:15 andvar Exp $ */
/*
* Copyright (c) 1998 Jonathan Stone. All rights reserved.
@@ -70,7 +70,7 @@
#define __INTR_PRIVATE
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dec_3maxplus.c,v 1.72 2024/02/05 22:08:05 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dec_3maxplus.c,v 1.73 2024/09/20 21:46:15 andvar Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -264,7 +264,7 @@ dec_3maxplus_intr_establish(device_t dev
break;
default:
#ifdef DIAGNOSTIC
- printf("warning: enabling unknown intr %x\n", (int)cookie);
+ printf("warning: enabling unknown intr %p\n", cookie);
#endif
return;
}