thermferm/devices.c

changeset 343
ba3a2d27d59e
parent 342
3bbc8f42adc0
child 344
acd840c9fcc0
--- a/thermferm/devices.c	Mon Mar 23 20:34:47 2015 +0100
+++ b/thermferm/devices.c	Thu Mar 26 16:40:53 2015 +0100
@@ -316,7 +316,7 @@
 			    ndev->description = xstrcpy((char *)"Unknown device family ");
 			    ndev->description = xstrcat(ndev->description, buf);
 			}
-			ndev->value = ndev->inuse = 0;
+			ndev->value = ndev->offset = ndev->inuse = 0;
 			ndev->present = DEVPRESENT_YES;
 			ndev->address = xstrcpy(de->d_name);
 			ndev->subdevice = i;

mercurial