summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sensors/huey2/huey-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sensors/huey2/huey-device.c b/src/sensors/huey2/huey-device.c
index 4c7a862..8084f6c 100644
--- a/src/sensors/huey2/huey-device.c
+++ b/src/sensors/huey2/huey-device.c
@@ -156,7 +156,7 @@ huey_device_read_eeprom (GUsbDevice *device, GError **error)
error);
if (!ret) {
g_prefix_error (error, "failed to read eeprom @0x%04x: ", i);
- return FALSE;
+ return NULL;
}
memcpy (eeprom + i, reply + 0x4, 0x4);
}