diff options
author | Kazutaka YOKOTA <yokota@FreeBSD.org> | 1998-09-04 10:15:48 +0000 |
---|---|---|
committer | Kazutaka YOKOTA <yokota@FreeBSD.org> | 1998-09-04 10:15:48 +0000 |
commit | afab29051f77de9d801db778f538d2a6bdbf6d30 (patch) | |
tree | 6b8a3eab05c12c7d516002beab83e79ae2968791 /usr.sbin/kbdcontrol | |
parent | 5eb5dd76427e67971d773c126bbe9ee2b4db30cd (diff) | |
download | src-afab29051f77de9d801db778f538d2a6bdbf6d30.tar.gz src-afab29051f77de9d801db778f538d2a6bdbf6d30.zip |
Fix uninitialized variable.
PR: bin/7799
Submitted by: Sheldon Hearn (axl@iafrica.com)
Notes
Notes:
svn path=/head/; revision=38805
Diffstat (limited to 'usr.sbin/kbdcontrol')
-rw-r--r-- | usr.sbin/kbdcontrol/kbdcontrol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/kbdcontrol/kbdcontrol.c b/usr.sbin/kbdcontrol/kbdcontrol.c index bd028286ece7..f3f6bc90cfc6 100644 --- a/usr.sbin/kbdcontrol/kbdcontrol.c +++ b/usr.sbin/kbdcontrol/kbdcontrol.c @@ -28,7 +28,7 @@ #ifndef lint static const char rcsid[] = - "$Id: kbdcontrol.c,v 1.16 1998/08/03 11:33:22 yokota Exp $"; + "$Id: kbdcontrol.c,v 1.17 1998/08/06 09:44:23 yokota Exp $"; #endif /* not lint */ #include <ctype.h> @@ -850,6 +850,7 @@ badopt: rate.rep = n; } + rate.pad = 0; if (ioctl(0, KDSETRAD, rate) < 0) warn("setting keyboard rate"); } |