summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2010-07-07 15:31:48 +0200
committerMartin Pitt <martin.pitt@ubuntu.com>2010-07-07 15:31:48 +0200
commit1d6f7ddfa34ac4954725134a52fbbb2bf950c27a (patch)
tree7785de45990a2ab6fb8c685d1b97127fca5e2021
parentc4a1c15d0ccba73b987b280370f913f47a5cbf09 (diff)
fix typo in numerical constant
*brown paperbag*
-rw-r--r--src/up-daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/up-daemon.c b/src/up-daemon.c
index d2f9677..9b8160e 100644
--- a/src/up-daemon.c
+++ b/src/up-daemon.c
@@ -107,7 +107,7 @@ G_DEFINE_TYPE (UpDaemon, up_daemon, G_TYPE_OBJECT)
/* Native Linux suspend-to-disk does not use compression, and needs 2 KB of
* page meta information for each MB of active memory. Add some error margin
* here, though. */
-#define UP_DAEMON_SWAP_WATERLINE 98f /* % */
+#define UP_DAEMON_SWAP_WATERLINE 98.f /* % */
/* refresh all the devices after this much time when on-battery has changed */
#define UP_DAEMON_ON_BATTERY_REFRESH_DEVICES_DELAY 1 /* seconds */