sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit e8cb7f5ef0e1ebbc39247b27d479f03297761324
parent b90ca482a081d68be4cd7f0e82ad9479ce4d11ab
Author: sin <sin@2f30.org>
Date:   Fri Jan 30 13:24:55 +0000

sleep: Allow sleeping for 136 years

Diffstat:
sleep.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sleep.c b/sleep.c @@ -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;