projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some warnings in allbareconfig.
[oweals/busybox.git]
/
networking
/
vconfig.c
diff --git
a/networking/vconfig.c
b/networking/vconfig.c
index 72729c7ed048ece3f90b7aeb8d020d6593ff81db..6cbbb54ca13267071cad9f935699ad80ba7a5fc8 100644
(file)
--- 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. */
}
/* 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));
memset(&ifr, 0, sizeof(struct vlan_ioctl_args));