Add the string terminator for binary bitstrings.

This commit is contained in:
Maciej Suminski 2014-08-08 09:52:57 +02:00
parent d2ad7a4d28
commit 4786f80b0b
1 changed files with 1 additions and 0 deletions

View File

@ -409,6 +409,7 @@ static char*make_bitstring_bin(int width_prefix, bool sflag, bool,
while (*src) {
*rp++ = *src++;
}
*rp = 0;
return res;
}