diff --git a/usr/stpgd/stpgd_main.c b/usr/stpgd/stpgd_main.c index 63fa92bdd..be0796248 100644 --- a/usr/stpgd/stpgd_main.c +++ b/usr/stpgd/stpgd_main.c @@ -195,7 +195,7 @@ int wait_until_finished(pid_t pid, unsigned long deadline, int *status, int chil } break; } - sleep(0.1); + usleep(100*1000); time(&end); elapsed = difftime(end, start); } while (elapsed < deadline);