From 1385899416a4396385ad421ae1f532be7103738a Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 8 Oct 2006 12:49:22 +0000 Subject: attempt to regularize atoi mess. --- init/halt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init/halt.c') diff --git a/init/halt.c b/init/halt.c index 2ac210e59..9e3cbb1cf 100644 --- 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. */ -- cgit v1.2.3