summaryrefslogtreecommitdiff
path: root/sbin/wsconsctl
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2001-08-01 10:33:11 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2001-08-01 10:33:11 +0000
commit6007438c9bb7a2c44ec1c97d2cd7084caec4bfc6 (patch)
tree8513086c7c9e7243aea86ea756d293416083d86c /sbin/wsconsctl
parente4f8c969106c5b148435c41b147eafcac0d8a99a (diff)
Correct diagnostic string per PR 1981 by Kaspar Toomik.
Diffstat (limited to 'sbin/wsconsctl')
-rw-r--r--sbin/wsconsctl/mouse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/wsconsctl/mouse.c b/sbin/wsconsctl/mouse.c
index 5c82044f781..e5fea9c6edb 100644
--- a/sbin/wsconsctl/mouse.c
+++ b/sbin/wsconsctl/mouse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mouse.c,v 1.2 2001/06/30 02:12:57 mickey Exp $ */
+/* $OpenBSD: mouse.c,v 1.3 2001/08/01 10:33:10 hugh Exp $ */
/* $NetBSD: mouse.c,v 1.3 1999/11/15 13:47:30 ad Exp $ */
/*-
@@ -80,7 +80,7 @@ mouse_put_values(pre, fd)
if (field_by_value(mouse_field_tab, &samplerate)->flags & FLG_SET) {
tmp = samplerate;
if (ioctl(fd, WSMOUSEIO_SRATE, &tmp) < 0)
- err(1, "WSMOUSEIO_SRES");
+ err(1, "WSMOUSEIO_SRATE");
pr_field(pre, field_by_value(mouse_field_tab, &tmp), " -> ");
}
}