Fix uninitialized variable.
PR: bin/7799 Submitted by: Sheldon Hearn (axl@iafrica.com)
This commit is contained in:
parent
5eb5dd7642
commit
afab29051f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38805
@ -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 @@ struct {
|
||||
rate.rep = n;
|
||||
}
|
||||
|
||||
rate.pad = 0;
|
||||
if (ioctl(0, KDSETRAD, rate) < 0)
|
||||
warn("setting keyboard rate");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user