diff options
author | garga <garga@FreeBSD.org> | 2017-02-16 09:19:29 +0000 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2017-02-16 09:19:29 +0000 |
commit | 383f0463dc8fab606ae5715a5482c1bfbb51cb52 (patch) | |
tree | 32dbaa8606496e44d0264a8e56250de1072d0c89 /contrib/libc++/src/stdexcept.cpp | |
parent | 67fb1296dfd5edac0f3daae4774e67c7bc5477c0 (diff) | |
download | FreeBSD-src-383f0463dc8fab606ae5715a5482c1bfbb51cb52.zip FreeBSD-src-383f0463dc8fab606ae5715a5482c1bfbb51cb52.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 'contrib/libc++/src/stdexcept.cpp')
0 files changed, 0 insertions, 0 deletions