diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-01-22 02:18:59 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-01-22 02:19:16 +0100 |
commit | bd40a2d830265cdd36eb19576bdbe8e41dd527ee (patch) | |
tree | 65be055210412b9b3b961a153e7dc131ee7c653e /src/swap.c | |
parent | 0b1724894fb85aa1c07b2619e9269cfafd736956 (diff) |
clang: fix some issues found with clang-analyzersystemd/v17
Diffstat (limited to 'src/swap.c')
-rw-r--r-- | src/swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swap.c b/src/swap.c index 23a98dd63f..9a253beea2 100644 --- a/src/swap.c +++ b/src/swap.c @@ -1090,7 +1090,7 @@ int swap_fd_event(Manager *m, int events) { assert(m); assert(events & EPOLLPRI); - if ((r == swap_load_proc_swaps(m, true)) < 0) { + if ((r = swap_load_proc_swaps(m, true)) < 0) { log_error("Failed to reread /proc/swaps: %s", strerror(-r)); /* Reset flags, just in case, for late calls */ |