Module Name:    src
Committed By:   pgoyette
Date:           Sat Mar 20 19:04:51 UTC 2010

Modified Files:
        src/sys/dev/i2c: dbcool.c

Log Message:
Use correct format directive in aprint_debug_dev()

Thanks to Kurt Schreiner for reporting this on current-users@


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/i2c/dbcool.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/dbcool.c
diff -u src/sys/dev/i2c/dbcool.c:1.19 src/sys/dev/i2c/dbcool.c:1.20
--- src/sys/dev/i2c/dbcool.c:1.19	Sat Mar 20 02:42:19 2010
+++ src/sys/dev/i2c/dbcool.c	Sat Mar 20 19:04:51 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: dbcool.c,v 1.19 2010/03/20 02:42:19 pgoyette Exp $ */
+/*	$NetBSD: dbcool.c,v 1.20 2010/03/20 19:04:51 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -49,7 +49,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.19 2010/03/20 02:42:19 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dbcool.c,v 1.20 2010/03/20 19:04:51 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1377,7 +1377,8 @@
 	else
 		sc->sc_root_sysctl_num = 0;
 
-	aprint_debug_dev(self, "Supply voltage %ld.%06ldV, %s temp range\n",
+	aprint_debug_dev(self,
+		"Supply voltage %"PRId64".%06"PRId64"V, %s temp range\n",
 		sc->sc_supply_voltage / 1000000,
 		sc->sc_supply_voltage % 1000000,
 		sc->sc_temp_offset ? "extended" : "normal");

Reply via email to