sleep: Allow sleeping for 136 years

This commit is contained in:
sin 2015-01-30 13:24:55 +00:00
parent b90ca482a0
commit e8cb7f5ef0

View File

@ -23,7 +23,7 @@ main(int argc, char *argv[])
if (argc < 1)
usage();
seconds = estrtol(argv[0], 0);
seconds = estrtoul(argv[0], 0);
while ((seconds = sleep(seconds)) > 0)
;
return 0;