aboutsummaryrefslogtreecommitdiff
path: root/networking/vconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/vconfig.c')
-rw-r--r--networking/vconfig.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/networking/vconfig.c b/networking/vconfig.c
index e063d0a49..4776e1324 100644
--- a/networking/vconfig.c
+++ b/networking/vconfig.c
@@ -157,9 +157,8 @@ int vconfig_main(int argc, char **argv)
157 } 157 }
158 158
159 fd = xsocket(AF_INET, SOCK_STREAM, 0); 159 fd = xsocket(AF_INET, SOCK_STREAM, 0);
160 if (ioctl(fd, SIOCSIFVLAN, &ifr) < 0) { 160 ioctl_or_perror_and_die(fd, SIOCSIFVLAN, &ifr,
161 bb_perror_msg_and_die("ioctl error for %s", *argv); 161 "ioctl error for %s", *argv);
162 }
163 162
164 return 0; 163 return 0;
165} 164}