diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-18 02:38:27 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-10-18 02:38:27 +0200 |
commit | c05387d5deca9e57c38077debc0f705199f32006 (patch) | |
tree | f7b5b0983a5008b4ae55d60b80d86c84665bb7ed /libbb | |
parent | 36af2f7977edc818af8c01392ef700439a9fe163 (diff) | |
download | busybox-w32-c05387d5deca9e57c38077debc0f705199f32006.tar.gz busybox-w32-c05387d5deca9e57c38077debc0f705199f32006.tar.bz2 busybox-w32-c05387d5deca9e57c38077debc0f705199f32006.zip |
*: replace xopen3 with xopen where makes sense
function old new delta
uniq_main 421 416 -5
sort_main 803 798 -5
patch_main 2051 2046 -5
cpio_main 547 542 -5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/xfuncs_printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs_printf.c b/libbb/xfuncs_printf.c index c6db38d33..ba660a2db 100644 --- a/libbb/xfuncs_printf.c +++ b/libbb/xfuncs_printf.c | |||
@@ -134,7 +134,7 @@ int FAST_FUNC xopen3(const char *pathname, int flags, int mode) | |||
134 | return ret; | 134 | return ret; |
135 | } | 135 | } |
136 | 136 | ||
137 | // Die if we can't open an existing file and return a fd. | 137 | // Die if we can't open a file and return a fd. |
138 | int FAST_FUNC xopen(const char *pathname, int flags) | 138 | int FAST_FUNC xopen(const char *pathname, int flags) |
139 | { | 139 | { |
140 | return xopen3(pathname, flags, 0666); | 140 | return xopen3(pathname, flags, 0666); |