aboutsummaryrefslogtreecommitdiff
path: root/libbb/xfuncs_printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xfuncs_printf.c')
-rw-r--r--libbb/xfuncs_printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs_printf.c b/libbb/xfuncs_printf.c
index f0399ca45..d29acebcd 100644
--- a/libbb/xfuncs_printf.c
+++ b/libbb/xfuncs_printf.c
@@ -224,7 +224,7 @@ int FAST_FUNC rename_or_warn(const char *oldpath, const char *newpath)
224 return n; 224 return n;
225} 225}
226 226
227void FAST_FUNC xpipe(int filedes[2]) 227void FAST_FUNC xpipe(int *filedes)
228{ 228{
229 if (pipe(filedes)) 229 if (pipe(filedes))
230 bb_simple_perror_msg_and_die("can't create pipe"); 230 bb_simple_perror_msg_and_die("can't create pipe");