mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2024-11-25 13:14:12 +08:00
btrfs-progs: send dump: print escaped path
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
637563be3c
commit
25afadfc72
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user