projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22c670a
)
tools/xc: fix logic error in stdiostream_progress
author
Olaf Hering
<olaf@aepfle.de>
Fri, 15 Feb 2013 13:32:11 +0000
(13:32 +0000)
committer
Olaf Hering
<olaf@aepfle.de>
Fri, 15 Feb 2013 13:32:11 +0000
(13:32 +0000)
Setting XTL_STDIOSTREAM_HIDE_PROGRESS should disable progress reporting.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xtl_logger_stdio.c
patch
|
blob
|
history
diff --git
a/tools/libxc/xtl_logger_stdio.c
b/tools/libxc/xtl_logger_stdio.c
index 3edf0a2fd720ee534c31b4db991d22870386a5b4..24922d2d2e8aad30e44c20f8594c6a03459805ca 100644
(file)
--- 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) {