projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
attempt to regularize atoi mess.
[oweals/busybox.git]
/
init
/
halt.c
diff --git
a/init/halt.c
b/init/halt.c
index 2ac210e59aca76e8afd62e07ba68fe226b281c79..9e3cbb1cfc4d0d0c74909b824801a81f05b9aadf 100644
(file)
--- a/
init/halt.c
+++ b/
init/halt.c
@@
-35,7
+35,7
@@
RB_AUTOBOOT
/* Parse and handle arguments */
flags = getopt32(argc, argv, "d:nf", &delay);
- if (flags&1) sleep(
atoi
(delay));
+ if (flags&1) sleep(
xatou
(delay));
if (!(flags&2)) sync();
/* Perform action. */