]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[cmdline] Fix up "sleep" argument parsing
authorMichael Brown <mcb30@ipxe.org>
Mon, 24 Oct 2011 14:52:14 +0000 (15:52 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 24 Oct 2011 14:52:14 +0000 (15:52 +0100)
commitf177a6f09ff5d702fd01619e0db05e92a99976d7
treeef2ace81118c4563e8ec57ca25cfe8d6db9df588
parentbf2da3122b988cd277da435ee76bc35ad438e8af
[cmdline] Fix up "sleep" argument parsing

Use parse_integer() rather than strtoul() to allow parsing errors to
be reported in a meaningful way.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/exec.c