From c2cb0f32b44a9918364af39c24b5643388c553f6 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 13 Apr 2006 12:45:04 +0000 Subject: - patch from Denis Vlasenko to add and use bb_xopen3() --- networking/vconfig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'networking/vconfig.c') 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)); -- cgit v1.2.3