Commit 5578a316 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Merge branch 'master' of https://github.com/hishamhm/htop

parents 52909560 e7484015
...@@ -77,7 +77,7 @@ int Platform_getUptime() { ...@@ -77,7 +77,7 @@ int Platform_getUptime() {
fscanf(fd, "%64lf", &uptime); fscanf(fd, "%64lf", &uptime);
fclose(fd); fclose(fd);
} }
int totalseconds = (int) floor(uptime); return (int) floor(uptime);
} }
void Platform_getLoadAverage(double* one, double* five, double* fifteen) { void Platform_getLoadAverage(double* one, double* five, double* fifteen) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment