summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/kbd/kbd_wscons.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/kbd/kbd_wscons.c b/sbin/kbd/kbd_wscons.c
index 491f5475871..c7424856b6a 100644
--- a/sbin/kbd/kbd_wscons.c
+++ b/sbin/kbd/kbd_wscons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kbd_wscons.c,v 1.18 2004/10/08 13:23:41 jaredy Exp $ */
+/* $OpenBSD: kbd_wscons.c,v 1.19 2004/10/08 17:26:35 millert Exp $ */
/*
* Copyright (c) 2001 Mats O Jansson. All rights reserved.
@@ -158,7 +158,7 @@ kbd_list(void)
int fd, i, kbtype;
#ifndef NOKVM
kvm_t *kd;
- char errbuf[_POSIX2_LINE_MAX];
+ char errbuf[LINE_MAX];
#endif
char device[MAXPATHLEN];
int pc_kbd = 0;
@@ -244,7 +244,7 @@ kbd_list(void)
void
kbd_set(char *name, int verbose)
{
- char buf[_POSIX2_LINE_MAX];
+ char buf[LINE_MAX];
char *c,*b;
struct nameint *n;
int map = 0,v,i,fd;