diff options
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 */ |