aboutsummaryrefslogtreecommitdiff
path: root/lib/xwrap.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-02-09 17:06:12 -0600
committerRob Landley <rob@landley.net>2016-02-09 17:06:12 -0600
commita7a869c2d5f9398a6348dbeacbfec115a5b7d34e (patch)
treee669351994a1e03027d918b35e2a118c87e1450f /lib/xwrap.c
parent85f54d8e836ac80264111df7d87db6c15eaca558 (diff)
downloadtoybox-a7a869c2d5f9398a6348dbeacbfec115a5b7d34e.tar.gz
Fix xpipe. (thinko.)
Diffstat (limited to 'lib/xwrap.c')
-rw-r--r--lib/xwrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c
index 76b0ff37..78103555 100644
--- a/lib/xwrap.c
+++ b/lib/xwrap.c
@@ -310,7 +310,7 @@ int xopen(char *path, int flags)
return xcreate(path, flags, 0);
}
-void xpipe(int pp)
+void xpipe(int *pp)
{
if (pipe(pp)) perror_exit("xpipe");
}