diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-07-14 17:39:05 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2023-07-14 23:49:01 +0200 |
commit | be492020eca6493ab0869ef3aee4ab629180bc7f (patch) | |
tree | 095998db0198fc0aba9c7c024259ebe57a7fb60a /src/analyze | |
parent | Merge pull request #28370 from ldv-alt/cname (diff) | |
download | systemd-be492020eca6493ab0869ef3aee4ab629180bc7f.tar.xz systemd-be492020eca6493ab0869ef3aee4ab629180bc7f.zip |
tree-wide: a bunch of Coccinelle-suggested tweaks
rc2 edition
Diffstat (limited to 'src/analyze')
-rw-r--r-- | src/analyze/analyze-pcrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze/analyze-pcrs.c b/src/analyze/analyze-pcrs.c index df678ab935..82f0f39288 100644 --- a/src/analyze/analyze-pcrs.c +++ b/src/analyze/analyze-pcrs.c @@ -18,7 +18,7 @@ static int get_pcr_alg(const char **ret) { return log_oom(); if (access(p, F_OK) < 0) { - if (errno != -ENOENT) + if (errno != ENOENT) return log_error_errno(errno, "Failed to determine whether %s exists: %m", p); } else { *ret = alg; |