[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] tools/firmware/hvmloader/smbios.c::hvm_write_smbios_tables()


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "Jun Koi" <junkoi2004@xxxxxxxxx>
  • Date: Fri, 7 Dec 2007 17:47:50 +0900
  • Cc: "List: Xen Developers" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 07 Dec 2007 00:48:28 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rbIRmrOP3cNiy1OOsgXOBYkM5OqDFPM1qAgk5J7vihNT9dmaVAeKsrDJCG/rb4fHrnjf42hGytlwplN/r/Uv37bVkRq42m5HV1O3COMdFFjZbJSaA0L2f9Op7szNLeXCy1xwS3XC9O1JMt/vv9NgAICHRpMPAQ+aNZkmgjp2UJg=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.