Date: Mon, 27 Mar 2000 00:51:39 -0800 (PST) From: asaddi@philosophysw.com To: FreeBSD-gnats-submit@freebsd.org Subject: bin/17617: moused: remove debug output from -z option Message-ID: <200003270851.AAA01307@utopia.philosophysw.com>
next in thread | raw e-mail | index | archive | help
>Number: 17617
>Category: bin
>Synopsis: moused: remove debug output from -z option
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 27 01:00:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Allan Saddi
>Release: FreeBSD 4.0-STABLE i386
>Organization:
Philosophy SoftWorks
>Environment:
FreeBSD utopia.philosophysw.com 4.0-STABLE FreeBSD 4.0-STABLE #42: Sun Mar 26 15:05:19 PST 2000 root@utopia.philosophysw.com:/usr/src/sys/compile/UTOPIA i386
>Description:
When given the -z option, moused outputs what apparently looks like
debug information.
>How-To-Repeat:
utopia# moused -r high -z 4 -p /dev/psm0 -t auto
optind: 5, optarg: '4'
utopia#
>Fix:
--- moused.c.orig Tue Mar 21 19:51:23 2000
+++ moused.c Mon Mar 27 00:41:52 2000
@@ -550,7 +550,7 @@
}
rodent.zmap[0] = 1 << (i - 1);
rodent.zmap[1] = 1 << i;
- printf("optind: %d, optarg: '%s'\n", optind, optarg);
+ debug("optind: %d, optarg: '%s'\n", optind, optarg);
for (j = 1; j < 4; ++j) {
if ((optind >= argc) || !isdigit(*argv[optind]))
break;
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003270851.AAA01307>
