aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-02-22 19:37:24 -0800
committerRob Landley <rob@landley.net>2019-02-23 08:27:32 -0600
commit42af2e52e771dd7bf8be6fd1119520d492bb4b3f (patch)
tree313385b3e7ac5f05f698d007162242ecc27c1927 /lib/lib.c
parentaa5ddae1bae1b0cfdef15c3c1cd20b4cee97c182 (diff)
downloadtoybox-42af2e52e771dd7bf8be6fd1119520d492bb4b3f.tar.gz
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.
Diffstat (limited to 'lib/lib.c')
-rw-r--r--lib/lib.c6
1 files changed, 3 insertions, 3 deletions
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);
}