projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
init: fix logically inverted FEATURE_EXTRA_QUIET check
[oweals/busybox.git]
/
networking
/
ipcalc.c
diff --git
a/networking/ipcalc.c
b/networking/ipcalc.c
index d8fa5f3f2fa224998ecd76fd2d3609c821002c09..18abc12eb405a07d8ae6aae342cab8d62a99d5fb 100644
(file)
--- a/
networking/ipcalc.c
+++ b/
networking/ipcalc.c
@@
-86,7
+86,7
@@
int ipcalc_main(int argc, char **argv)
#if ENABLE_FEATURE_IPCALC_LONG_OPTIONS
applet_long_options = ipcalc_longopts;
#endif
#if ENABLE_FEATURE_IPCALC_LONG_OPTIONS
applet_long_options = ipcalc_longopts;
#endif
- opt = getopt32(argv, "mbn"
USE
_FEATURE_IPCALC_FANCY("phs"));
+ opt = getopt32(argv, "mbn"
IF
_FEATURE_IPCALC_FANCY("phs"));
argc -= optind;
argv += optind;
if (opt & (BROADCAST | NETWORK | NETPREFIX)) {
argc -= optind;
argv += optind;
if (opt & (BROADCAST | NETWORK | NETPREFIX)) {
@@
-178,7
+178,7
@@
int ipcalc_main(int argc, char **argv)
hostinfo = gethostbyaddr((char *) &ipaddr, sizeof(ipaddr), AF_INET);
if (!hostinfo) {
hostinfo = gethostbyaddr((char *) &ipaddr, sizeof(ipaddr), AF_INET);
if (!hostinfo) {
- bb_herror_msg_and_die("can
no
t find hostname for %s", argv[0]);
+ bb_herror_msg_and_die("can
'
t find hostname for %s", argv[0]);
}
str_tolower(hostinfo->h_name);
}
str_tolower(hostinfo->h_name);