aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.c
diff options
context:
space:
mode:
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);
}