aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/ifconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c
index 38d2f64b..59d1574d 100644
--- a/toys/other/ifconfig.c
+++ b/toys/other/ifconfig.c
@@ -478,7 +478,7 @@ void ifconfig_main(void)
// Is this an SIOCSI entry?
if ((off|0xff) == 0x89ff) {
if (!rev) {
- if (!*++argv) show_help();
+ if (!*++argv) error_exit("%s needs argument", t->name);
// Assign value to ifre field and call ioctl? (via IFREQ_OFFSZ.)
if (on < 0) {