summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glnx-console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glnx-console.c b/glnx-console.c
index 0911eaf..3973311 100644
--- a/glnx-console.c
+++ b/glnx-console.c
@@ -241,7 +241,7 @@ glnx_console_progress_text_percent (const char *text,
if (textlen > 0)
{
- fwrite (text, 1, textlen - 1, stdout);
+ fwrite (text, 1, textlen, stdout);
fputc (' ', stdout);
}