summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 171d6a4)
raw | patch | inline | side by side (parent: 171d6a4)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 23 Nov 2010 17:45:49 +0000 (18:45 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 23 Nov 2010 17:45:49 +0000 (18:45 +0100) |
src/swap.c | patch | blob | history |
diff --git a/src/swap.c b/src/swap.c
index 60ede04bdce0fd186ee31b7cdd641f5ad236317d..46ba6652953726ce0b7d90aecea2345f681ec64b 100644 (file)
--- a/src/swap.c
+++ b/src/swap.c
if (numfields != 2)
continue;
- if (strcasecmp ("pswpin", fields[0]) != 0)
+ if (strcasecmp ("pswpin", fields[0]) == 0)
strtoderive (fields[1], &swap_in);
else if (strcasecmp ("pswpout", fields[0]) == 0)
strtoderive (fields[1], &swap_out);