projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix warning about uninitialized variable
[platform/upstream/btrfs-progs.git]
/
send-dump.c
diff --git
a/send-dump.c
b/send-dump.c
index
67f7977
..
1591e0c
100644
(file)
--- a/
send-dump.c
+++ b/
send-dump.c
@@
-116,9
+116,10
@@
static int __print_dump(int subvol, void *user, const char *path,
putchar('\n');
return 0;
}
putchar('\n');
return 0;
}
- /* Short paths a
le aligned to 32 chars
*/
- while (ret++ < 32)
+ /* Short paths a
re aligned to 32 chars; longer paths get a single space
*/
+ do {
putchar(' ');
putchar(' ');
+ } while (++ret < 32);
va_start(args, fmt);
/* Operation specified ones */
vprintf(fmt, args);
va_start(args, fmt);
/* Operation specified ones */
vprintf(fmt, args);