]> git.pld-linux.org Git - packages/apcupsd.git/blob - apcupsd-pcnet-seconds.patch
copy am files in build (after BR is filled), enable verbose build
[packages/apcupsd.git] / apcupsd-pcnet-seconds.patch
1 diff -uNr apcupsd-3.14.4/src/drivers/pcnet/pcnet.c apcupsd-3.14.4.new/src/drivers/pcnet/pcnet.c
2 --- apcupsd-3.14.4/src/drivers/pcnet/pcnet.c    2007-10-06 16:52:52.000000000 +0200
3 +++ apcupsd-3.14.4.new/src/drivers/pcnet/pcnet.c        2008-12-14 10:35:02.240131748 +0100
4 @@ -208,7 +208,7 @@
5        break;
6     case CI_RUNTIM:
7        Dmsg1(80, "Got CI_RUNTIM: %s\n", value);
8 -      ups->TimeLeft = atof(value);
9 +      ups->TimeLeft = atof(value) / 60;
10        break;
11     case CI_ITEMP:
12        Dmsg1(80, "Got CI_ITEMP: %s\n", value);
This page took 0.076698 seconds and 3 git commands to generate.