correct off-by-one nul termination.
This commit is contained in:
parent
9162533526
commit
2fc22d067d
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ func0(ulong)
|
|||
((ulong *) buf)[0] = r.bx;
|
||||
((ulong *) buf)[1] = r.dx;
|
||||
((ulong *) buf)[2] = r.cx;
|
||||
buf[13] = 0;
|
||||
buf[12] = 0;
|
||||
Bprint(out, "vendor %s\n", buf);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue