treewide: correct argument comments
This commit is contained in:
@@ -1007,7 +1007,7 @@ static int pe_find_uki_sections(
|
||||
if (found->VirtualSize == 0)
|
||||
continue;
|
||||
|
||||
r = pe_read_section_data(fd, found, PE_SECTION_SIZE_MAX, (void**) t->data, /* ret_data= */ NULL);
|
||||
r = pe_read_section_data(fd, found, PE_SECTION_SIZE_MAX, (void**) t->data, /* ret_size= */ NULL);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to load contents of section '%s': %m", t->name);
|
||||
}
|
||||
|
||||
@@ -917,7 +917,7 @@ int bus_get_instance_id(sd_bus *bus, sd_id128_t *ret) {
|
||||
|
||||
r = sd_bus_call_method(bus,
|
||||
"org.freedesktop.DBus", "/org/freedesktop/DBus", "org.freedesktop.DBus", "GetId",
|
||||
/* error = */ NULL, &reply,
|
||||
/* ret_error = */ NULL, &reply,
|
||||
NULL);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
@@ -1358,7 +1358,7 @@ int decrypt_credential_and_warn(
|
||||
&IOVEC_MAKE(t->policy_hash_and_blob, le32toh(t->blob_size)),
|
||||
/* n_blobs= */ 1,
|
||||
&IOVEC_MAKE(t->policy_hash_and_blob + le32toh(t->blob_size), le32toh(t->policy_hash_size)),
|
||||
/* n_policy_hash= */ 1,
|
||||
/* n_known_policy_hash= */ 1,
|
||||
/* srk= */ NULL,
|
||||
&tpm2_key);
|
||||
if (r == -EREMOTE)
|
||||
|
||||
@@ -40,7 +40,7 @@ static FactoryResetMode factory_reset_mode_efi_variable(void) {
|
||||
return log_debug_errno(r, "Failed to get EFI variable FactoryResetRequest: %m");
|
||||
|
||||
_cleanup_(sd_json_variant_unrefp) sd_json_variant *v = NULL;
|
||||
r = sd_json_parse(req_str, /* flags= */ 0, &v, /* ret_line= */ NULL, /* ret_column= */ NULL);
|
||||
r = sd_json_parse(req_str, /* flags= */ 0, &v, /* reterr_line= */ NULL, /* ret_column= */ NULL);
|
||||
if (r < 0) {
|
||||
log_debug_errno(r, "EFI variable FactoryResetRequest set to invalid JSON, ignoring: %m");
|
||||
return FACTORY_RESET_UNSPECIFIED;
|
||||
|
||||
Reference in New Issue
Block a user