Skip to content

Commit

Permalink
Fix xpipe. (thinko.)
Browse files Browse the repository at this point in the history
  • Loading branch information
landley committed Feb 9, 2016
1 parent 85f54d8 commit a7a869c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void xaccess(char *path, int flags);
void xunlink(char *path);
int xcreate(char *path, int flags, int mode);
int xopen(char *path, int flags);
void xpipe(int pp);
void xpipe(int *pp);
void xclose(int fd);
int xdup(int fd);
FILE *xfdopen(int fd, char *mode);
Expand Down
2 changes: 1 addition & 1 deletion lib/xwrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit a7a869c

Please sign in to comment.