From 2e83762e95c3b83ce664836a22aa42a73cce6543 Mon Sep 17 00:00:00 2001 From: martii Date: Sun, 3 Feb 2013 15:20:06 +0100 Subject: [PATCH] spark_fp: small fix --- tools/spark_fp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/spark_fp.c b/tools/spark_fp.c index c35728b..46cf5d9 100644 --- a/tools/spark_fp.c +++ b/tools/spark_fp.c @@ -230,15 +230,15 @@ int main(int argc, char **argv) ret = ioctl(fd, VFDSETPOWERONTIME, &t); break; case 'P': - ret = ioctl(fd, VFDPOWEROFF, &t); + ret = ioctl(fd, VFDPOWEROFF); #else ret = ioctl(fd, VFDSTANDBY, &t); -#endif /* driver always returns einval here... if (ret < 0) perror("ioctl VFDSTANDBY"); */ sleep(2); /* not reached... */ +#endif break; #ifdef MARTII case 'l': /* LED on */