aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--brightnessd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/brightnessd.c b/brightnessd.c
index da16644..8434cfe 100644
--- a/brightnessd.c
+++ b/brightnessd.c
@@ -13,7 +13,7 @@
#define STEP 1
#define BIG_STEP 10
-int get_now()
+int get_now(FILE *f)
{
char buffer[4096]; // FIXME: magic constant is icky
// FIXME: check return value for eror
@@ -48,7 +48,7 @@ int main(int argc, char **argv)
exit(EXIT_FAILURE);
}
- now = get_now();
+ now = get_now(f);
target = now;
// Open a FIFO