summaryrefslogtreecommitdiff
path: root/send-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'send-dump.c')
-rw-r--r--send-dump.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/send-dump.c b/send-dump.c
index 4c44246f..1591e0cc 100644
--- a/send-dump.c
+++ b/send-dump.c
@@ -112,11 +112,14 @@ static int __print_dump(int subvol, void *user, const char *path,
/* Unified header */
printf("%-16s", title);
ret = print_path_escaped(out_path);
- if (!fmt)
+ if (!fmt) {
+ putchar('\n');
return 0;
- /* Short paths ale aligned to 32 chars */
- while (ret++ < 32)
+ }
+ /* Short paths are aligned to 32 chars; longer paths get a single space */
+ do {
putchar(' ');
+ } while (++ret < 32);
va_start(args, fmt);
/* Operation specified ones */
vprintf(fmt, args);