mirror of
https://github.com/facebook/zstd.git
synced 2025-08-05 19:15:58 +03:00
add error message clarification for inputs as process substitution
This commit is contained in:
@@ -660,6 +660,9 @@ FIO_openDstFile(FIO_ctx_t* fCtx, FIO_prefs_t* const prefs,
|
|||||||
#endif
|
#endif
|
||||||
if (f == NULL) {
|
if (f == NULL) {
|
||||||
DISPLAYLEVEL(1, "zstd: %s: %s\n", dstFileName, strerror(errno));
|
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 {
|
} else {
|
||||||
/* An increased buffer size can provide a significant performance
|
/* An increased buffer size can provide a significant performance
|
||||||
* boost on some platforms. Note that providing a NULL buf with a
|
* boost on some platforms. Note that providing a NULL buf with a
|
||||||
|
Reference in New Issue
Block a user