Add the string terminator for binary bitstrings.
This commit is contained in:
parent
d2ad7a4d28
commit
4786f80b0b
|
|
@ -409,6 +409,7 @@ static char*make_bitstring_bin(int width_prefix, bool sflag, bool,
|
|||
while (*src) {
|
||||
*rp++ = *src++;
|
||||
}
|
||||
*rp = 0;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue