diff --git a/usr/hello/hello.c b/usr/hello/hello.c index 34d9357..d25b86a 100644 --- a/usr/hello/hello.c +++ b/usr/hello/hello.c @@ -15,7 +15,6 @@ #include -#include #include #include @@ -35,8 +34,8 @@ int main(int argc, char *argv[]) if (argc > 1 && !strncmp(argv[1], HELLO_CATCH_COMMAND, sizeof(HELLO_CATCH_COMMAND))) { while(1) { printf("Catch me if you can!\n"); - // wait for 1 second - sleep(1); + // wait a bit + for(volatile int j = 0; j < 500000000; ++j); } }