|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] tools/firmware/hvmloader/smbios.c::hvm_write_smbios_tabl
On 12/7/07, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> On 7/12/07 08:37, "Jun Koi" <junkoi2004@xxxxxxxxx> wrote:
>
> > Basically, these long code can be written in only 1 line, like this:
> >
> > snprintf(xen_version_str, sizeof(xen_version_str), "%u.%u%s",
> > xen_major_version, xen_minor_version, xen_extra_verison);
>
> There is no snprintf() in hvmloader currently.
>
Hmmm... can't we include stdio.h for it? It is userspace code anyway, no?
Thanks,
Jun
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|