[libvirt] [PATCHv2 04/10] cgroup: Replace sscanf with virStrToLong_ll

Eric Blake eblake at redhat.com
Wed Mar 31 22:30:10 UTC 2010


On 03/31/2010 03:41 PM, Matthias Bolte wrote:
> The switch from %lli to %lld in virCgroupGetValueI64 is intended,
> as virCgroupGetValueU64 uses base 10 too, and virCgroupSetValueI64
> uses %lld to format the number to string.
> 
> Parsing is stricter now and doesn't accept trailing characters
> after the actual value anymore.

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100331/202afd81/attachment-0001.sig>


More information about the libvir-list mailing list