lockfile: convert retry timeout computations to millisecond
[gitweb.git] / help.c
diff --git a/help.c b/help.c
index 2072a873e2db784ca66c0f1736b12e523a96b7db..de1279b4227c450ad9229aec36ea1ae7b0079410 100644 (file)
--- a/help.c
+++ b/help.c
@@ -372,7 +372,7 @@ const char *help_unknown_cmd(const char *cmd)
                if (autocorrect > 0) {
                        fprintf_ln(stderr, _("in %0.1f seconds automatically..."),
                                (float)autocorrect/10.0);
-                       poll(NULL, 0, autocorrect * 100);
+                       sleep_millisec(autocorrect * 100);
                }
                return assumed;
        }