On Mon, Nov 23, 2009 at 01:08:30PM +0200, Gleb Natapov wrote:
> > > -    memcpy((char *)start, "CPU  " "\0" "" "\0" "", 7);
> > > - ((char *)start)[4] = cpu_number + '0';
> > > +    memcpy((char *)start, "CPU  \0QEMU\0\0", 12);
> > > +    ((char *)start)[4] = cpu_number + '0';
> > 
> > BTW, snprintf can now be used here.
> > 
> snprintf in SeaBIOS doesn't have return value. In some situation it is
> impossible to use it properly without it.

It's straight forward to add - commit 2be312c1.

-Kevin


Reply via email to