Module Name:    src
Committed By:   andvar
Date:           Sun Sep 10 21:13:20 UTC 2023

Modified Files:
        src/sys/arch/hpcmips/dev: plumpcmcia.c

Log Message:
return %#x specifier for pcihp->ioh and add (unsigned) cast instead,
as it is done everywhere in this code.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/hpcmips/dev/plumpcmcia.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/hpcmips/dev/plumpcmcia.c
diff -u src/sys/arch/hpcmips/dev/plumpcmcia.c:1.31 src/sys/arch/hpcmips/dev/plumpcmcia.c:1.32
--- src/sys/arch/hpcmips/dev/plumpcmcia.c:1.31	Sun Sep 10 14:28:57 2023
+++ src/sys/arch/hpcmips/dev/plumpcmcia.c	Sun Sep 10 21:13:20 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: plumpcmcia.c,v 1.31 2023/09/10 14:28:57 andvar Exp $ */
+/*	$NetBSD: plumpcmcia.c,v 1.32 2023/09/10 21:13:20 andvar Exp $ */
 
 /*
  * Copyright (c) 1999, 2000 UCHIYAMA Yasushi. All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plumpcmcia.c,v 1.31 2023/09/10 14:28:57 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plumpcmcia.c,v 1.32 2023/09/10 21:13:20 andvar Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -646,7 +646,7 @@ plumpcmcia_chip_io_free(pcmcia_chipset_h
 		bus_space_unmap(pcihp->iot, pcihp->ioh, pcihp->size);
 	}
 
-	DPRINTF("plumpcmcia_chip_io_free %#lx+%#x\n", pcihp->ioh, 
+	DPRINTF("plumpcmcia_chip_io_free %#x+%#x\n", (unsigned)pcihp->ioh, 
 	    (unsigned)pcihp->size);
 }
 

Reply via email to