Module Name:    src
Committed By:   jmcneill
Date:           Tue Oct 18 00:31:07 UTC 2011

Modified Files:
        src/sys/arch/x86/x86: vmt.c

Log Message:
use PRId64 for time_t format


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/x86/vmt.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/x86/x86/vmt.c
diff -u src/sys/arch/x86/x86/vmt.c:1.3 src/sys/arch/x86/x86/vmt.c:1.4
--- src/sys/arch/x86/x86/vmt.c:1.3	Tue Oct 18 00:07:45 2011
+++ src/sys/arch/x86/x86/vmt.c	Tue Oct 18 00:31:07 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: vmt.c,v 1.3 2011/10/18 00:07:45 jmcneill Exp $ */
+/* $NetBSD: vmt.c,v 1.4 2011/10/18 00:31:07 jmcneill Exp $ */
 /* $OpenBSD: vmt.c,v 1.11 2011/01/27 21:29:25 dtucker Exp $ */
 
 /*
@@ -389,7 +389,7 @@ static void
 vmt_update_guest_uptime(struct vmt_softc *sc)
 {
 	/* host wants uptime in hundredths of a second */
-	if (vm_rpc_send_rpci_tx(sc, "SetGuestInfo  %d %llu00",
+	if (vm_rpc_send_rpci_tx(sc, "SetGuestInfo  %d %" PRId64 "00",
 	    VM_GUEST_INFO_UPTIME, time_uptime) != 0) {
 		device_printf(sc->sc_dev, "unable to set guest uptime\n");
 		sc->sc_rpc_error = 1;

Reply via email to