]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - misc/e2image.c
e2image: don't leak progress info to stdout
authorEric Sandeen <sandeen@redhat.com>
Fri, 15 Apr 2016 03:20:46 +0000 (22:20 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 15 Apr 2016 14:59:02 +0000 (10:59 -0400)
commitbe5ce275259e6216b618d3900786b365669a0b42
tree71f0919e60513050d97d8c51122fdf7b62ad723e
parent8ef71d873c6c96bbe868efe0e351020763edb2b6
e2image: don't leak progress info to stdout

Commit c8ee0d60 fixed most of these, but missed this one.

# e2image -r -p <device> - > imagefile

leads to a corrupted image due to the "Scanning inodes..."
printf going to stdout.

Reported-by: Alex Markley <alex@malexmedia.net>
Addresses-Red-Hat-Bugzilla: #1327329
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2image.c