diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-13 16:45:04 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-04-13 16:45:04 +0400 |
commit | c2cb0f32b44a9918364af39c24b5643388c553f6 (patch) | |
tree | 378b5a002da81f8622913cc6a9aeac873e307ec9 /networking/vconfig.c | |
parent | 4f3d2deaa499af34c22a7f9be121131b0a5894b5 (diff) |
- 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) } /* 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)); |