diff options
Diffstat (limited to 'bin/sh/redir.c')
-rw-r--r-- | bin/sh/redir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/redir.c b/bin/sh/redir.c index 79b70d0..3ef30d0 100644 --- a/bin/sh/redir.c +++ b/bin/sh/redir.c @@ -246,7 +246,7 @@ openhere(redir) int len = 0; if (pipe(pip) < 0) - error("Pipe call failed"); + error("Pipe call failed: %s", strerror(errno)); if (redir->type == NHERE) { len = strlen(redir->nhere.doc->narg.text); if (len <= PIPESIZE) { |