diff options
Diffstat (limited to 'toys/other/ifconfig.c')
-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 bfd9a306..1d2a41dc 100644 --- a/toys/other/ifconfig.c +++ b/toys/other/ifconfig.c @@ -110,7 +110,7 @@ static void display_ifconfig(char *name, int always, unsigned long long val[]) short flags; xstrncpy(ifre.ifr_name, name, IFNAMSIZ); - if (ioctl(TT.sockfd, SIOCGIFFLAGS, &ifre)<0) perror_exit("%s", name); + if (ioctl(TT.sockfd, SIOCGIFFLAGS, &ifre)<0) perror_exit_raw(name); flags = ifre.ifr_flags; if (!always && !(flags & IFF_UP)) return; |