fix gcc-11.0 warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2021-04-14 17:52:18 +02:00
parent ba9f9c2d2c
commit fe2d8065e3
4 changed files with 4 additions and 4 deletions

View File

@ -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");