]> err.no Git - systemd/commit
gudev: Use strtoul to parse unsigned 64-bit integers
authorDavid Zeuthen <davidz@redhat.com>
Sat, 29 Oct 2011 16:16:43 +0000 (12:16 -0400)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 31 Oct 2011 12:47:22 +0000 (13:47 +0100)
commit39649a8b3a1e7121a622dd3d01c0beb6b3da9b0b
tree51fa2623340ac3054d94f035c1b6bf5a9d2a3e9f
parent092a53bb92165e189b2c14ab5e21481a85b23475
gudev: Use strtoul to parse unsigned 64-bit integers

Otherwise it will return 0x7fffffffffffffff instead of
0x8000000000000004 for e.g. this property

 ID_PART_ENTRY_FLAGS=0x8000000000000004

Signed-off-by: David Zeuthen <davidz@redhat.com>
extras/gudev/gudevdevice.c