From 42af2e52e771dd7bf8be6fd1119520d492bb4b3f Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 22 Feb 2019 19:37:24 -0800 Subject: Bumper typo cleanup. Inspired by some of the small patches that have gone by recently. Limited to only things found in `generated/help.h`, plus a wider cleanup for the more common "milisecond" typo. --- lib/lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/lib.c') diff --git a/lib/lib.c b/lib/lib.c index 9d5c5f4b..76d5765c 100644 --- a/lib/lib.c +++ b/lib/lib.c @@ -542,12 +542,12 @@ char *readfile(char *name, char *ibuf, off_t len) } // Sleep for this many thousandths of a second -void msleep(long miliseconds) +void msleep(long milliseconds) { struct timespec ts; - ts.tv_sec = miliseconds/1000; - ts.tv_nsec = (miliseconds%1000)*1000000; + ts.tv_sec = milliseconds/1000; + ts.tv_nsec = (milliseconds%1000)*1000000; nanosleep(&ts, &ts); } -- cgit v1.2.3