X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=send-dump.c;h=1591e0cc2a5f75bc3f93e0e7021e8acae8d34420;hb=6d3fea8f46568ae9f54bd50f9de2aeeb76e0cd23;hp=4c44246f9ab7483048b8bb4b49c8f47576aa6995;hpb=590d8b2ee538aee8abd590619461a4bb794b5697;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/send-dump.c b/send-dump.c index 4c44246..1591e0c 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);