diff options
Diffstat (limited to 'toys/other')
-rw-r--r-- | toys/other/ifconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c index a84e26ac..f5d4215e 100644 --- a/toys/other/ifconfig.c +++ b/toys/other/ifconfig.c @@ -421,7 +421,7 @@ void ifconfig_main(void) } if ((p-ptr) != count || *hw_addr) - error_exit("bad hw-addr '%s'", hw_addr ? hw_addr : ""); + error_exit("bad hw-addr '%s'", *argv); // the linux kernel's "struct sockaddr" (include/linux/socket.h in the // kernel source) only has 14 bytes of sa_data, and an infiniband address |