mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-04 09:24:32 +00:00
trivial: Fix some recent NULL/FALSE confusion
This commit is contained in:
parent
0d4e2ca4c5
commit
9c09e2c9bc
@ -653,7 +653,7 @@ fu_util_get_device (FuUtilPrivate *priv, const gchar *id, GError **error)
|
||||
FWUPD_ERROR,
|
||||
FWUPD_ERROR_INVALID_ARGS,
|
||||
"Invalid arguments");
|
||||
return FALSE;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
return fu_engine_get_device (priv->engine, id, error);
|
||||
|
@ -1047,7 +1047,7 @@ fu_util_get_device_by_id (FuUtilPrivate *priv, const gchar *id, GError **error)
|
||||
FWUPD_ERROR,
|
||||
FWUPD_ERROR_INVALID_ARGS,
|
||||
"Invalid arguments");
|
||||
return FALSE;
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
return fwupd_client_get_device_by_id (priv->client, id, NULL, error);
|
||||
|
Loading…
Reference in New Issue
Block a user