Merge pull request #18651 from poettering/einval-followup

two follow-up fixes for the enum einvalification
This commit is contained in:
Lennart Poettering
2021-02-17 23:15:50 +01:00
committed by GitHub
11 changed files with 126 additions and 102 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ static int show_installation_targets_client_side(const char *name) {
return log_error_errno(r, "Failed to get file links for %s: %m", name);
for (size_t i = 0; i < n_changes; i++)
if (changes[i].type == UNIT_FILE_UNLINK)
if (changes[i].type_or_errno == UNIT_FILE_UNLINK)
printf(" %s\n", changes[i].path);
return 0;