summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>1999-08-20 17:40:33 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>1999-08-20 17:40:33 +0000
commit6c7ed627ad766a34cfb1d966543b81426b2967c8 (patch)
treeda57aa2d7cd38e8ce597428521ad0717e2143c69
parent70ff7ab750904395ab26905eb361f0954630b8b2 (diff)
Notes
-rw-r--r--usr.sbin/xntpd/xntpdc/ntpdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/xntpd/xntpdc/ntpdc.c b/usr.sbin/xntpd/xntpdc/ntpdc.c
index ad771e32696c..dd090693f37d 100644
--- a/usr.sbin/xntpd/xntpdc/ntpdc.c
+++ b/usr.sbin/xntpd/xntpdc/ntpdc.c
@@ -826,7 +826,7 @@ getcmds()
if ((bp = el_gets(el, &num)) == NULL || num == 0)
return;
- len = (num > MAX_CMDLINE) ? MAX_CMDLINE : num;
+ len = (num > MAXLINE) ? MAXLINE : num;
memcpy(line, bp, len);
line[len] = 0;
history(hist, H_ENTER, bp);