Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/wsconsctl Fix two pastos in the code to set 'samplerate'.
details: https://anonhg.NetBSD.org/src/rev/eda0ba688d26
branches: trunk
changeset: 588038:eda0ba688d26
user: jmmv <jmmv%NetBSD.org@localhost>
date: Sun Feb 05 17:45:06 2006 +0000
description:
Fix two pastos in the code to set 'samplerate'.
diffstat:
sbin/wsconsctl/mouse.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r e9c0d830c4da -r eda0ba688d26 sbin/wsconsctl/mouse.c
--- a/sbin/wsconsctl/mouse.c Sun Feb 05 17:39:52 2006 +0000
+++ b/sbin/wsconsctl/mouse.c Sun Feb 05 17:45:06 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mouse.c,v 1.5 2006/02/05 17:38:33 jmmv Exp $ */
+/* $NetBSD: mouse.c,v 1.6 2006/02/05 17:45:06 jmmv Exp $ */
/*-
* Copyright (c) 1998, 2006 The NetBSD Foundation, Inc.
@@ -121,8 +121,8 @@
if (field_by_value(&samplerate)->flags & FLG_SET) {
tmp = samplerate;
if (ioctl(fd, WSMOUSEIO_SRATE, &tmp) < 0)
- err(1, "WSMOUSEIO_SRES");
- pr_field(field_by_value(&tmp), " -> ");
+ err(1, "WSMOUSEIO_SRATE");
+ pr_field(field_by_value(&samplerate), " -> ");
}
if (field_by_value(&repeat.wr_buttons)->flags & FLG_SET ||
Home |
Main Index |
Thread Index |
Old Index