X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=load-fragment.c;h=148a579d99244127d123b08888eddb48a82a54e6;hb=a1d821025a51e119a5959fb8b3fb976e41260f1a;hp=b4e0c760093551ed8c7091fa0c6054cd9d74d22e;hpb=07b0b134d3076fe223d6e15959b6081a74b56792;p=elogind.git diff --git a/load-fragment.c b/load-fragment.c index b4e0c7600..148a579d9 100644 --- a/load-fragment.c +++ b/load-fragment.c @@ -1198,6 +1198,7 @@ static int load_from_path(Unit *u, const char *path) { { "SyslogIdentifier", config_parse_string, &(context).syslog_identifier, section }, \ { "SyslogFacility", config_parse_facility, &(context).syslog_priority, section }, \ { "SyslogLevel", config_parse_level, &(context).syslog_priority, section }, \ + { "SyslogNoPrefix", config_parse_bool, &(context).syslog_no_prefix, section }, \ { "Capabilities", config_parse_capabilities, &(context), section }, \ { "SecureBits", config_parse_secure_bits, &(context), section }, \ { "CapabilityBoundingSetDrop", config_parse_bounding_set, &(context), section }, \ @@ -1287,9 +1288,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 } };