mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-13 15:17:01 +00:00
trivial: Do not use deprecated GLib API
This commit is contained in:
parent
bcf6253134
commit
9e32b7325a
@ -345,7 +345,11 @@ fu_cpu_device_add_security_attrs_intel_cet_active(FuCpuDevice *self, FuSecurityA
|
||||
g_warning("failed to test CET: %s", error_local->message);
|
||||
return;
|
||||
}
|
||||
#if GLIB_CHECK_VERSION(2, 69, 2)
|
||||
if (!g_spawn_check_wait_status(exit_status, &error_local)) {
|
||||
#else
|
||||
if (!g_spawn_check_exit_status(exit_status, &error_local)) {
|
||||
#endif
|
||||
g_debug("CET does not function, not supported: %s", error_local->message);
|
||||
fwupd_security_attr_set_result(attr, FWUPD_SECURITY_ATTR_RESULT_NOT_SUPPORTED);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user