diff options
author | garga <garga@FreeBSD.org> | 2017-02-16 09:12:36 +0000 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2017-02-16 09:12:36 +0000 |
commit | 627ada7a549923c35379113b3474ea449c4554c1 (patch) | |
tree | 96efe3e11f87b68b8a201ce50d9b9786751738b9 /lib/libedit/tokenizer.c | |
parent | 1774b65ac65bd325f1ed5574e97f07c422efd662 (diff) | |
download | FreeBSD-src-627ada7a549923c35379113b3474ea449c4554c1.zip FreeBSD-src-627ada7a549923c35379113b3474ea449c4554c1.tar.gz |
MFC r313477:
Cleanup on usr.sbin/arp/arp.c
* 'blackhole' and 'reject' are mutually exclusive, replace printf() by errx()
when both are selected.
* 'trail' option is no longer supported since first import of arp from 4.4BSD.
XXX message was added 13 years ago in r128192. I believe it's time to remove
it.
* Use warnx() to print some informative messages instead of printf()
* Replace strncmp() by strcmp() when validating parameters and exit when invalid
parameter is found
Reviewed by: allanjude, vangyzen, cem
Approved by: allanjude
MFC after: 1 week
Sponsored by: Rubicon Communications (Netgate)
Differential Revision: https://reviews.freebsd.org/D9504
Diffstat (limited to 'lib/libedit/tokenizer.c')
0 files changed, 0 insertions, 0 deletions