diff --git a/src/lib/synergy/App.cpp b/src/lib/synergy/App.cpp index 8abf4dde..78511608 100644 --- a/src/lib/synergy/App.cpp +++ b/src/lib/synergy/App.cpp @@ -131,7 +131,7 @@ App::run(int argc, char** argv) LOG((CLOG_CRIT "A display invalid exception error occurred: %s\n", die.what())); // display invalid exceptions can occur when going to sleep. When this process exits, the // UI will restart us instantly. We don't really want that behevior, so we quies for a bit - (void)sleep(10); + ARCH->sleep(10); } catch (std::runtime_error& re) { LOG((CLOG_CRIT "A runtime error occurred: %s\n", re.what()));