X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=networking%2Fvconfig.c;h=6cbbb54ca13267071cad9f935699ad80ba7a5fc8;hb=c44bc986b738977c5cd9741d9752a41ac022602f;hp=72729c7ed048ece3f90b7aeb8d020d6593ff81db;hpb=dac7ff15b7d32deeeef3d9665744fc5774c21d70;p=oweals%2Fbusybox.git diff --git a/networking/vconfig.c b/networking/vconfig.c index 72729c7ed..6cbbb54ca 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));