summaryrefslogtreecommitdiff
path: root/networking/vconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/vconfig.c')
-rw-r--r--networking/vconfig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/vconfig.c b/networking/vconfig.c
index 72729c7..6cbbb54 100644
--- a/networking/vconfig.c
+++ b/networking/vconfig.c
@@ -123,7 +123,8 @@ int vconfig_main(int argc, char **argv)
}
/* Don't bother closing the filedes. It will be closed on cleanup. */
- bb_xopen(conf_file_name, O_RDONLY); /* Will die if 802.1q is not present */
+ /* Will die if 802.1q is not present */
+ bb_xopen3(conf_file_name, O_RDONLY, 0);
memset(&ifr, 0, sizeof(struct vlan_ioctl_args));