diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libzfs/libzfs_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzfs/libzfs_util.c b/lib/libzfs/libzfs_util.c index ae66db39a..4a545a027 100644 --- a/lib/libzfs/libzfs_util.c +++ b/lib/libzfs/libzfs_util.c @@ -748,7 +748,7 @@ libzfs_run_process_impl(const char *path, char *argv[], char *env[], int flags, * reading stdout. */ if ((lines != NULL) && pipe(link) == -1) - return (-ESTRPIPE); + return (-EPIPE); pid = vfork(); if (pid == 0) { |