summaryrefslogtreecommitdiffstats
path: root/openbsd/Platform.c
diff options
context:
space:
mode:
authorMichael McConville <mmcconville@mykolab.com>2015-10-13 11:05:52 -0400
committerMichael McConville <mmcconville@mykolab.com>2015-10-13 11:05:52 -0400
commit8673a84e5fe57ba6bc0405bbcbf1a57cc5d66aa8 (patch)
tree5bcb9bc9315b5d99b26223e5165f41e129a3da14 /openbsd/Platform.c
parent9f1884c28f5a115aa2c96c922b34403fec8835cb (diff)
Remove some trailing whitespace
Diffstat (limited to 'openbsd/Platform.c')
-rw-r--r--openbsd/Platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd/Platform.c b/openbsd/Platform.c
index 1bfdd4ca..7429e6db 100644
--- a/openbsd/Platform.c
+++ b/openbsd/Platform.c
@@ -167,7 +167,7 @@ int Platform_getUptime() {
struct timeval bootTime, currTime;
int mib[2] = { CTL_KERN, KERN_BOOTTIME };
size_t size = sizeof(bootTime);
-
+
int err = sysctl(mib, 2, &bootTime, &size, NULL, 0);
if (err) {
return -1;
@@ -181,7 +181,7 @@ void Platform_getLoadAverage(double* one, double* five, double* fifteen) {
struct loadavg loadAverage;
int mib[2] = { CTL_VM, VM_LOADAVG };
size_t size = sizeof(loadAverage);
-
+
int err = sysctl(mib, 2, &loadAverage, &size, NULL, 0);
if (err) {
*one = 0;

© 2014-2024 Faster IT GmbH | imprint | privacy policy