diff options
| author | Dave Larson <larson1@us.ibm.com> | 2011-03-07 12:08:56 -0600 |
|---|---|---|
| committer | Patrick Williams <iawillia@us.ibm.com> | 2011-03-07 13:49:30 -0600 |
| commit | e42f410c045d7751cba48ed091301e71cf36b207 (patch) | |
| tree | 8eb5d31e04c5ece36f43c1825e99f088b16d791f /src/lib | |
| parent | 4e28e35a01099ebe75a0e69b1fdf32a842fe13d5 (diff) | |
| download | blackbird-hostboot-e42f410c045d7751cba48ed091301e71cf36b207.tar.gz blackbird-hostboot-e42f410c045d7751cba48ed091301e71cf36b207.zip | |
Fix sprintf to null terminate the string.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/stdio.C | 2 |
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; } |

