aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-13 12:45:04 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-04-13 12:45:04 +0000
commitc2cb0f32b44a9918364af39c24b5643388c553f6 (patch)
tree378b5a002da81f8622913cc6a9aeac873e307ec9 /networking
parent4f3d2deaa499af34c22a7f9be121131b0a5894b5 (diff)
downloadbusybox-c2cb0f32b44a9918364af39c24b5643388c553f6.tar.gz
busybox-c2cb0f32b44a9918364af39c24b5643388c553f6.tar.bz2
- patch from Denis Vlasenko to add and use bb_xopen3()
Diffstat (limited to 'networking')
-rw-r--r--networking/vconfig.c3
1 files changed, 2 insertions, 1 deletions
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));