Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 use PRId64 for time_t format



details:   https://anonhg.NetBSD.org/src/rev/c185f935ab89
branches:  trunk
changeset: 770462:c185f935ab89
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Oct 18 00:31:07 2011 +0000

description:
use PRId64 for time_t format

diffstat:

 sys/arch/x86/x86/vmt.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r dc02ae9476ea -r c185f935ab89 sys/arch/x86/x86/vmt.c
--- a/sys/arch/x86/x86/vmt.c    Tue Oct 18 00:07:45 2011 +0000
+++ b/sys/arch/x86/x86/vmt.c    Tue Oct 18 00:31:07 2011 +0000
@@ -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 @@
 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;



Home | Main Index | Thread Index | Old Index