summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>1999-08-20 07:14:46 +0000
committermdodd <mdodd@FreeBSD.org>1999-08-20 07:14:46 +0000
commit650bfbaefb8b5f5883059337948fad819db42d4a (patch)
tree89427abf8b284caa03202a785908268e53e754bb /usr.sbin/xntpd
parent592af9e5e30c588bbddbab64c5ce04e4df251a68 (diff)
downloadFreeBSD-src-650bfbaefb8b5f5883059337948fad819db42d4a.zip
FreeBSD-src-650bfbaefb8b5f5883059337948fad819db42d4a.tar.gz
Fix some cut and paste damage.
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 de4c342..ad771e3 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 > MAX_CMDLINE) ? MAX_CMDLINE : num;
memcpy(line, bp, len);
line[len] = 0;
history(hist, H_ENTER, bp);
OpenPOWER on IntegriCloud