]> git.proxmox.com Git - mirror_qemu.git/commit
qtest: replace strtoXX() by qemu_strtoXX()
authorLaurent Vivier <lvivier@redhat.com>
Tue, 13 Sep 2016 12:52:43 +0000 (14:52 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 23 Sep 2016 00:29:40 +0000 (10:29 +1000)
commitaa15f497178a8a3d489bf410171c3b6dfa0d9f49
treec748618da1b5a3ccbccde310fd0b86d2cff69ee2
parent95cda4c44ee2ae8616b2f9d8a2d68882cf437859
qtest: replace strtoXX() by qemu_strtoXX()

Check the result of qemu_strtoXX() and assert
if the string cannot be converted.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
qtest.c