diff options
author | Richard Hughes <richard@hughsie.com> | 2021-01-14 15:33:22 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2021-01-14 15:33:22 +0000 |
commit | ddc06e33d0b8f6d0ffa4b87e77d19e69e5a72a84 (patch) | |
tree | a4bbb8481ee16ac7938b39bb30742397b6790b4f | |
parent | 0ae87195ec59f05389108e85daf8f2494030df11 (diff) | |
download | colord-ddc06e33d0b8f6d0ffa4b87e77d19e69e5a72a84.tar.gz |
trivial: Fix the return value of huey_device_read_eeprom()
-rw-r--r-- | src/sensors/huey2/huey-device.c | 2 |
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); } |