correct off-by-one nul termination.

This commit is contained in:
rgl 2021-03-11 19:37:44 +01:00
parent 9162533526
commit 2fc22d067d

View file

@ -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);
}