summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--send-dump.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/send-dump.c b/send-dump.c
index 9cc84c23..064c914e 100644
--- a/send-dump.c
+++ b/send-dump.c
@@ -110,7 +110,13 @@ static int __print_dump(int subvol, void *user, const char *path,
}
/* Unified header */
- printf("%-16s%-32s", title, out_path);
+ printf("%-16s", title);
+ ret = print_path_escaped(out_path);
+ if (!fmt)
+ return 0;
+ /* Short paths ale aligned to 32 chars */
+ while (ret++ < 32)
+ putchar(' ');
va_start(args, fmt);
/* Operation specified ones */
vprintf(fmt, args);