Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/moused Fix format string to unbreak i386 build



details:   https://anonhg.NetBSD.org/src/rev/3f5a3073a80a
branches:  trunk
changeset: 769083:3f5a3073a80a
user:      gson <gson%NetBSD.org@localhost>
date:      Wed Aug 31 07:17:44 2011 +0000

description:
Fix format string to unbreak i386 build

diffstat:

 usr.sbin/moused/moused.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2bbfd577f96f -r 3f5a3073a80a usr.sbin/moused/moused.c
--- a/usr.sbin/moused/moused.c  Wed Aug 31 07:04:49 2011 +0000
+++ b/usr.sbin/moused/moused.c  Wed Aug 31 07:17:44 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: moused.c,v 1.19 2011/08/30 20:03:50 joerg Exp $ */
+/* $NetBSD: moused.c,v 1.20 2011/08/31 07:17:44 gson Exp $ */
 /**
  ** Copyright (c) 1995 Michael Smith, All rights reserved.
  **
@@ -48,7 +48,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: moused.c,v 1.19 2011/08/30 20:03:50 joerg Exp $");
+__RCSID("$NetBSD: moused.c,v 1.20 2011/08/31 07:17:44 gson Exp $");
 #endif /* not lint */
 
 #include <ctype.h>
@@ -2152,7 +2152,7 @@
     tv2.tv_sec = rodent.clickthreshold/1000;
     tv2.tv_usec = (rodent.clickthreshold%1000)*1000;
     timersub(&tv1, &tv2, &tv); 
-    debug("tv:  %ld %ld", tv.tv_sec, (long)tv.tv_usec);
+    debug("tv:  %ld %ld", (long)tv.tv_sec, (long)tv.tv_usec);
 
     /* 3 button emulation timeout */
     tv2.tv_sec = rodent.button2timeout/1000;



Home | Main Index | Thread Index | Old Index