summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Larson <larson1@us.ibm.com>2011-03-07 12:08:56 -0600
committerPatrick Williams <iawillia@us.ibm.com>2011-03-07 13:49:30 -0600
commite42f410c045d7751cba48ed091301e71cf36b207 (patch)
tree8eb5d31e04c5ece36f43c1825e99f088b16d791f /src
parent4e28e35a01099ebe75a0e69b1fdf32a842fe13d5 (diff)
downloadtalos-hostboot-e42f410c045d7751cba48ed091301e71cf36b207.tar.gz
talos-hostboot-e42f410c045d7751cba48ed091301e71cf36b207.zip
Fix sprintf to null terminate the string.
Diffstat (limited to 'src')
-rw-r--r--src/lib/stdio.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/stdio.C b/src/lib/stdio.C
index 2cdd23d85..62b3c39a9 100644
--- a/src/lib/stdio.C
+++ b/src/lib/stdio.C
@@ -39,6 +39,6 @@ int sprintf(char *str, const char * format, ...)
format, args);
va_end(args);
-
+ console.putc('\0');
return count;
}
OpenPOWER on IntegriCloud