spark_fp: fix last patch, no binary change

This commit is contained in:
martii
2013-01-27 19:45:34 +01:00
parent 9d5cb7b443
commit f744cf4d05

View File

@@ -232,10 +232,10 @@ int main(int argc, char **argv)
ret = ioctl(fd, VFDSETPOWERONTIME, &t);
break;
case 'P':
ret = ioctl(fd, VFDPOWEROFF, &t);
#else
ret = ioctl(fd, VFDSTANDBY, &t);
#endif
ret = ioctl(fd, VFDPOWEROFF, &t);
/* driver always returns einval here...
if (ret < 0)
perror("ioctl VFDSTANDBY");