diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-13 12:45:04 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-13 12:45:04 +0000 |
commit | c2cb0f32b44a9918364af39c24b5643388c553f6 (patch) | |
tree | 378b5a002da81f8622913cc6a9aeac873e307ec9 /networking/vconfig.c | |
parent | 4f3d2deaa499af34c22a7f9be121131b0a5894b5 (diff) | |
download | busybox-w32-c2cb0f32b44a9918364af39c24b5643388c553f6.tar.gz busybox-w32-c2cb0f32b44a9918364af39c24b5643388c553f6.tar.bz2 busybox-w32-c2cb0f32b44a9918364af39c24b5643388c553f6.zip |
- patch from Denis Vlasenko to add and use bb_xopen3()
Diffstat (limited to 'networking/vconfig.c')
-rw-r--r-- | networking/vconfig.c | 3 |
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) | |||
123 | } | 123 | } |
124 | 124 | ||
125 | /* Don't bother closing the filedes. It will be closed on cleanup. */ | 125 | /* Don't bother closing the filedes. It will be closed on cleanup. */ |
126 | bb_xopen(conf_file_name, O_RDONLY); /* Will die if 802.1q is not present */ | 126 | /* Will die if 802.1q is not present */ |
127 | bb_xopen3(conf_file_name, O_RDONLY, 0); | ||
127 | 128 | ||
128 | memset(&ifr, 0, sizeof(struct vlan_ioctl_args)); | 129 | memset(&ifr, 0, sizeof(struct vlan_ioctl_args)); |
129 | 130 | ||