mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
add error message clarification for inputs as process substitution
This commit is contained in:
parent
a293cdcb85
commit
8626da73b6
1 changed files with 3 additions and 0 deletions
|
|
@ -660,6 +660,9 @@ 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");
|
||||
}
|
||||
} else {
|
||||
/* An increased buffer size can provide a significant performance
|
||||
* boost on some platforms. Note that providing a NULL buf with a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue