summaryrefslogtreecommitdiff
path: root/lib/console.c
diff options
context:
space:
mode:
authorBastien Roucariès <rouca@debian.org>2024-05-06 19:17:23 +0000
committerBastien Roucariès <rouca@debian.org>2024-05-06 19:17:23 +0000
commit0d1d760b90dfe26145b7c4e4cd0de55117bcdbbb (patch)
treea66ff512cd9be70de19d8983a2a04b9a1d03da6b /lib/console.c
parentee3097c3f96727fdb41e36d93b6c957d281da97e (diff)
parenta075e58606b9affb6dfb176c71caab816737a981 (diff)
downloadefi-boot-shim-0d1d760b90dfe26145b7c4e4cd0de55117bcdbbb.tar.gz
efi-boot-shim-0d1d760b90dfe26145b7c4e4cd0de55117bcdbbb.zip
Merge tag 'upstream/15.8' into buster/updates
Upstream version 15.8
Diffstat (limited to 'lib/console.c')
-rw-r--r--lib/console.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/console.c b/lib/console.c
index 6bbb8a7c..a751f79d 100644
--- a/lib/console.c
+++ b/lib/console.c
@@ -743,11 +743,13 @@ setup_verbosity(VOID)
setup_console(-1);
}
+#ifndef SHIM_UNIT_TEST
VOID
-msleep(unsigned long msecs)
+usleep(unsigned long usecs)
{
- BS->Stall(msecs);
+ BS->Stall(usecs);
}
+#endif
/* This is used in various things to determine if we should print to the
* console */