--- a/thermferm/devices.c Thu Jul 31 21:04:06 2014 +0200 +++ b/thermferm/devices.c Thu Jul 31 22:15:22 2014 +0200 @@ -150,8 +150,7 @@ ndev->type = DEVTYPE_GPIO; ndev->value = digitalRead(pin); ndev->present = DEVPRESENT_YES; - snprintf(buf, 39, "GPIO%d", i); - ndev->address = xstrcpy(buf); + ndev->address = xstrcpy((char *)"GPIO"); snprintf(buf, 39, "Raspberry GPIO %d", i); ndev->description = xstrcpy(buf); ndev->subdevice = i;