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

[Xen-devel] usage of libxl__sprintf for flexarray_append



What is the reason for code like this in device_disk_add?

    flexarray_append(back, libxl__sprintf(gc, "%d", 1));

A few lines above a known value of 1 is written without sprintf, and
later cdrom/disk and r/w is also written as string.

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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