Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/moused Yet another format string fix



details:   https://anonhg.NetBSD.org/src/rev/09e14531eb47
branches:  trunk
changeset: 769084:09e14531eb47
user:      gson <gson%NetBSD.org@localhost>
date:      Wed Aug 31 08:15:08 2011 +0000

description:
Yet another format string fix

diffstat:

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

diffs (27 lines):

diff -r 3f5a3073a80a -r 09e14531eb47 usr.sbin/moused/moused.c
--- a/usr.sbin/moused/moused.c  Wed Aug 31 07:17:44 2011 +0000
+++ b/usr.sbin/moused/moused.c  Wed Aug 31 08:15:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: moused.c,v 1.20 2011/08/31 07:17:44 gson Exp $ */
+/* $NetBSD: moused.c,v 1.21 2011/08/31 08:15:08 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.20 2011/08/31 07:17:44 gson Exp $");
+__RCSID("$NetBSD: moused.c,v 1.21 2011/08/31 08:15:08 gson Exp $");
 #endif /* not lint */
 
 #include <ctype.h>
@@ -2165,7 +2165,7 @@
             if (act->button & button) {
                 /* the button is down */
                debug("  :  %ld %ld", 
-                   bstate[i].tv.tv_sec, (long)bstate[i].tv.tv_usec);
+                   (long)bstate[i].tv.tv_sec, (long)bstate[i].tv.tv_usec);
                if (timercmp(&tv, &bstate[i].tv, >)) {
                     bstate[i].count = 1;
                 } else {



Home | Main Index | Thread Index | Old Index