mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-09 20:13:40 +00:00
Fix usage of incorrect type for return value
This seems like a bug, as `FALSE` == `0` == `VALIDATION_PASSED`
This commit is contained in:
parent
c6cda8bc71
commit
bddfde9615
@ -684,7 +684,7 @@ fu_thunderbolt_image_validate (GBytes *controller_fw,
|
|||||||
g_set_error (error,
|
g_set_error (error,
|
||||||
FWUPD_ERROR, FWUPD_ERROR_NOT_SUPPORTED,
|
FWUPD_ERROR, FWUPD_ERROR_NOT_SUPPORTED,
|
||||||
"Unknown controller");
|
"Unknown controller");
|
||||||
return FALSE;
|
return VALIDATION_FAILED;
|
||||||
}
|
}
|
||||||
hw_info = &unknown;
|
hw_info = &unknown;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user