summaryrefslogtreecommitdiffstats
path: root/solaris
diff options
context:
space:
mode:
Diffstat (limited to 'solaris')
-rw-r--r--solaris/Platform.c4
-rw-r--r--solaris/Platform.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/solaris/Platform.c b/solaris/Platform.c
index f3aaa695..014eaf55 100644
--- a/solaris/Platform.c
+++ b/solaris/Platform.c
@@ -309,7 +309,7 @@ bool Platform_getNetworkIO(unsigned long int* bytesReceived,
return false;
}
-void Platform_getBattery(double* level, ACPresence* isOnAC) {
- *level = NAN;
+void Platform_getBattery(double* percent, ACPresence* isOnAC) {
+ *percent = NAN;
*isOnAC = AC_ERROR;
}
diff --git a/solaris/Platform.h b/solaris/Platform.h
index 0c2e44a2..c3381152 100644
--- a/solaris/Platform.h
+++ b/solaris/Platform.h
@@ -84,6 +84,6 @@ bool Platform_getNetworkIO(unsigned long int* bytesReceived,
unsigned long int* bytesTransmitted,
unsigned long int* packetsTransmitted);
-void Platform_getBattery(double* level, ACPresence* isOnAC);
+void Platform_getBattery(double* percent, ACPresence* isOnAC);
#endif