mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 22:53:35 +00: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