aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2013-02-13 15:57:54 +0000
committerIan Jackson <Ian.Jackson@eu.citrix.com>2013-02-22 17:02:15 +0000
commit67ef1d1fff26ce249dacbd44b756e56953b6599f (patch)
tree4249ead78742e9a8306c22bafda70c3e12daf8c2
parent1eb4d2bee7109005e850bef502b317c7a41a7784 (diff)
downloadxen-67ef1d1fff26ce249dacbd44b756e56953b6599f.tar.gz
xen-67ef1d1fff26ce249dacbd44b756e56953b6599f.tar.bz2
xen-67ef1d1fff26ce249dacbd44b756e56953b6599f.zip
tools/libxc/xtl: fix logic error in stdiostream_progress
Setting XTL_STDIOSTREAM_HIDE_PROGRESS should disable progress reporting. Signed-off-by: Olaf Hering <olaf@aepfle.de>
-rw-r--r--tools/libxc/xtl_logger_stdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xtl_logger_stdio.c b/tools/libxc/xtl_logger_stdio.c
index 3edf0a2fd7..24922d2d2e 100644
--- a/tools/libxc/xtl_logger_stdio.c
+++ b/tools/libxc/xtl_logger_stdio.c
@@ -89,7 +89,7 @@ static void stdiostream_progress(struct xentoollog_logger *logger_in,
int newpel, extra_erase;
xentoollog_level this_level;
- if (!(lg->flags & XTL_STDIOSTREAM_HIDE_PROGRESS))
+ if (lg->flags & XTL_STDIOSTREAM_HIDE_PROGRESS)
return;
if (percent < lg->progress_last_percent) {