Skip to content

Commit

Permalink
fix incorrect uptime on windows (#4240)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAkulov authored and muffins committed Apr 5, 2018
1 parent f1a6307 commit 8312887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osquery/tables/system/uptime.cpp
Expand Up @@ -46,7 +46,7 @@ long getUptime() {

return sys_info.uptime;
#elif defined(WIN32)
return static_cast<long>(GetTickCount64()) / 1000;
return static_cast<long>(GetTickCount64() / 1000);
#endif

return -1;
Expand Down

0 comments on commit 8312887

Please sign in to comment.