Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/i2c Fix printf format
details: https://anonhg.NetBSD.org/src/rev/baab3abd5437
branches: trunk
changeset: 767562:baab3abd5437
user: njoly <njoly%NetBSD.org@localhost>
date: Fri Jul 22 18:21:10 2011 +0000
description:
Fix printf format
diffstat:
sys/dev/i2c/xc3028.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 813fe6c510bf -r baab3abd5437 sys/dev/i2c/xc3028.c
--- a/sys/dev/i2c/xc3028.c Fri Jul 22 18:17:11 2011 +0000
+++ b/sys/dev/i2c/xc3028.c Fri Jul 22 18:21:10 2011 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
@@ -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);
}
Home |
Main Index |
Thread Index |
Old Index