chiark / gitweb /
time-util: add overflow checking to monotonic timestamp specifications
[elogind.git] / src / shared / sleep-config.c
index 7d47e79ebf1493c151285b51eb0c28e8c45c4f77..a57ebacd2a124bf2a74dccf68dffd95f32c2710a 100644 (file)
@@ -59,7 +59,7 @@ int parse_sleep_config(const char *verb, char ***_modes, char ***_states) {
                 {}
         };
 
-        config_parse_many(PKGSYSCONFDIR "/sleep.conf",
+        config_parse_many_nulstr(PKGSYSCONFDIR "/sleep.conf",
                           CONF_PATHS_NULSTR("systemd/sleep.conf.d"),
                           "Sleep\0", config_item_table_lookup, items,
                           false, NULL);