diff options
author | Bernhard Reutner-Fischer | 2006-04-13 12:45:04 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-04-13 12:45:04 +0000 |
commit | c2cb0f32b44a9918364af39c24b5643388c553f6 (patch) | |
tree | 378b5a002da81f8622913cc6a9aeac873e307ec9 /networking | |
parent | 4f3d2deaa499af34c22a7f9be121131b0a5894b5 (diff) | |
download | busybox-c2cb0f32b44a9918364af39c24b5643388c553f6.zip busybox-c2cb0f32b44a9918364af39c24b5643388c553f6.tar.gz |
- patch from Denis Vlasenko to add and use bb_xopen3()
Diffstat (limited to 'networking')
-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 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)); |