summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>1999-08-20 17:40:33 +0000
committermdodd <mdodd@FreeBSD.org>1999-08-20 17:40:33 +0000
commit0e8a449986870b21c87c80866c6d3acdaae7aeaa (patch)
tree645feb218ff36b4a01c4ee85cffd164a3a12ffef /usr.sbin/xntpd
parent533b3f739151c802099f1cc99646088579d2b62e (diff)
downloadFreeBSD-src-0e8a449986870b21c87c80866c6d3acdaae7aeaa.zip
FreeBSD-src-0e8a449986870b21c87c80866c6d3acdaae7aeaa.tar.gz
MAXLINE not MAX_CMDLINE
Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
Diffstat (limited to 'usr.sbin/xntpd')
-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 ad771e3..dd09069 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);
OpenPOWER on IntegriCloud