aboutsummaryrefslogtreecommitdiff
path: root/archival/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/tar.c')
-rw-r--r--archival/tar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index deb5c89b0..76f1a6240 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -357,7 +357,8 @@ static int writeTarHeader(struct TarBallInfo *tbInfo,
357 if (tbInfo->verboseFlag) { 357 if (tbInfo->verboseFlag) {
358 FILE *vbFd = stdout; 358 FILE *vbFd = stdout;
359 359
360 if (tbInfo->tarFd == STDOUT_FILENO) /* If the archive goes to stdout, verbose to stderr */ 360 /* If archive goes to stdout, verbose goes to stderr */
361 if (tbInfo->tarFd == STDOUT_FILENO)
361 vbFd = stderr; 362 vbFd = stderr;
362 /* GNU "tar cvvf" prints "extended" listing a-la "ls -l" */ 363 /* GNU "tar cvvf" prints "extended" listing a-la "ls -l" */
363 /* We don't have such excesses here: for us "v" == "vv" */ 364 /* We don't have such excesses here: for us "v" == "vv" */