Module Name: src
Committed By: njoly
Date: Fri Jul 22 18:21:10 UTC 2011
Modified Files:
src/sys/dev/i2c: xc3028.c
Log Message:
Fix printf format
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/i2c/xc3028.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/dev/i2c/xc3028.c
diff -u src/sys/dev/i2c/xc3028.c:1.1 src/sys/dev/i2c/xc3028.c:1.2
--- src/sys/dev/i2c/xc3028.c:1.1 Mon Jul 11 18:00:06 2011
+++ src/sys/dev/i2c/xc3028.c Fri Jul 22 18:21:10 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: xc3028.c,v 1.1 2011/07/11 18:00:06 jmcneill Exp $ */
+/* $NetBSD: xc3028.c,v 1.2 2011/07/22 18:21:10 njoly Exp $ */
/*-
* Copyright (c) 2011 Jared D. McNeill <[email protected]>
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xc3028.c,v 1.1 2011/07/11 18:00:06 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xc3028.c,v 1.2 2011/07/22 18:21:10 njoly Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -282,7 +282,7 @@
if (xcfw->type & (1 << 30))
printf("_%d", xcfw->int_freq);
if (xcfw->id)
- printf(" id=%llx", xcfw->id);
+ printf(" id=%" PRIx64, xcfw->id);
printf(" size=%u\n", xcfw->data_size);
}