Module Name: src
Committed By: gson
Date: Wed Aug 31 08:15:08 UTC 2011
Modified Files:
src/usr.sbin/moused: moused.c
Log Message:
Yet another format string fix
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/moused/moused.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/moused/moused.c
diff -u src/usr.sbin/moused/moused.c:1.20 src/usr.sbin/moused/moused.c:1.21
--- src/usr.sbin/moused/moused.c:1.20 Wed Aug 31 07:17:44 2011
+++ src/usr.sbin/moused/moused.c Wed Aug 31 08:15:08 2011
@@ -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 {