diff options
author | mdodd <mdodd@FreeBSD.org> | 1999-08-20 17:40:33 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 1999-08-20 17:40:33 +0000 |
commit | 0e8a449986870b21c87c80866c6d3acdaae7aeaa (patch) | |
tree | 645feb218ff36b4a01c4ee85cffd164a3a12ffef /usr.sbin | |
parent | 533b3f739151c802099f1cc99646088579d2b62e (diff) | |
download | FreeBSD-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')
-rw-r--r-- | usr.sbin/xntpd/xntpdc/ntpdc.c | 2 |
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); |