trivial: Fix some recent NULL/FALSE confusion

This commit is contained in:
Richard Hughes 2020-04-22 10:52:42 +01:00
parent 0d4e2ca4c5
commit 9c09e2c9bc
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);