diff options
author | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-07-31 14:54:24 +0100 |
---|---|---|
committer | Dimitri John Ledkov <xnox@ubuntu.com> | 2017-07-31 14:54:24 +0100 |
commit | 6a0440391da7a99ffab94ccc66264af9b5f3ce34 (patch) | |
tree | 1c7cf4f07b08c4965ab19819ebce367be16fb980 /send-dump.c | |
parent | 5f2e2384443a09e3f1fec71940e9e32b70789102 (diff) |
New upstream release.
Diffstat (limited to 'send-dump.c')
-rw-r--r-- | send-dump.c | 9 |
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); |