summaryrefslogtreecommitdiff
path: root/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-14 02:29:45 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-14 02:29:45 +0200
commit4e85aff465b2ce0fa34222e52a6f5a984140b22e (patch)
tree6f33e8f35a0675b033755cebaea55817f6a753b2 /load-fragment.c
parentc0b52914d23f6cc65bb67c77e2c5e7d58a6e8b9a (diff)
execute: fix bad jump
Diffstat (limited to 'load-fragment.c')
-rw-r--r--load-fragment.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/load-fragment.c b/load-fragment.c
index b4e0c76009..deebba3e82 100644
--- a/load-fragment.c
+++ b/load-fragment.c
@@ -1287,9 +1287,8 @@ static int load_from_path(Unit *u, const char *path) {
{ "Where", config_parse_path, &u->automount.where, "Automount" },
- { "What", config_parse_path, &u->swap.what, "Swap" },
- { "Priority", config_parse_unsigned, &u->swap.priority, "Swap" },
- { "NoAuto", config_parse_bool, &u->swap.no_auto, "Swap" },
+ { "What", config_parse_path, &u->swap.parameters_fragment.what, "Swap" },
+ { "Priority", config_parse_int, &u->swap.parameters_fragment.priority, "Swap" },
{ NULL, NULL, NULL, NULL }
};