summaryrefslogtreecommitdiff
path: root/libbb/xfuncs_printf.c
diff options
context:
space:
mode:
authorDenys Vlasenko2021-04-14 17:52:18 +0200
committerDenys Vlasenko2021-04-14 17:52:18 +0200
commitfe2d8065e3e3c251c054a30e9823977e20b5ab7c (patch)
treee020c35302c0fface2e39414cfae9f4ba6531b1c /libbb/xfuncs_printf.c
parentba9f9c2d2c57f6041c6c01ba7c0e8379a5f5d440 (diff)
downloadbusybox-fe2d8065e3e3c251c054a30e9823977e20b5ab7c.zip
busybox-fe2d8065e3e3c251c054a30e9823977e20b5ab7c.tar.gz
fix gcc-11.0 warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 f0399ca..d29aceb 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)
return n;
}
-void FAST_FUNC xpipe(int filedes[2])
+void FAST_FUNC xpipe(int *filedes)
{
if (pipe(filedes))
bb_simple_perror_msg_and_die("can't create pipe");