mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
update error message
This commit is contained in:
parent
0bdeb1d204
commit
2f9627863f
2 changed files with 4 additions and 3 deletions
|
|
@ -659,9 +659,10 @@ FIO_openDstFile(FIO_ctx_t* fCtx, FIO_prefs_t* const prefs,
|
|||
}
|
||||
#endif
|
||||
if (f == NULL) {
|
||||
DISPLAYLEVEL(1, "zstd: %s: %s\n", dstFileName, strerror(errno));
|
||||
if (UTIL_isFileDescriptorPipe(dstFileName)) {
|
||||
DISPLAYLEVEL(1, "When using process substitution (<(...)), specify an output destination with -o or -c. \n");
|
||||
DISPLAYLEVEL(1, "zstd: error: no output specified (use -o or -c). \n");
|
||||
} else {
|
||||
DISPLAYLEVEL(1, "zstd: %s: %s\n", dstFileName, strerror(errno));
|
||||
}
|
||||
} else {
|
||||
/* An increased buffer size can provide a significant performance
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Trace:FileStat: > UTIL_isRegularFile(out/file.zst)
|
|||
Trace:FileStat: > UTIL_stat(-1, out/file.zst)
|
||||
Trace:FileStat: < 0
|
||||
Trace:FileStat: < 0
|
||||
zstd: out/file.zst: Permission denied
|
||||
Trace:FileStat: > UTIL_isFileDescriptorPipe(out/file.zst)
|
||||
Trace:FileStat: < 0
|
||||
zstd: out/file.zst: Permission denied
|
||||
zstd: can't stat out/file.zst : Permission denied -- ignored
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue