chiark / gitweb /
core: mention if we are run from an initial RAM disk
[elogind.git] / src / delta / delta.c
index 1a5b08a7d09e8c7283e26f6e26de62aeefcd278b..01c63353151549ca8dceb8ad0014aa478ae13ead 100644 (file)
@@ -231,7 +231,7 @@ finish:
 static int process_suffix(const char *prefixes, const char *suffix) {
         const char *p;
         char *f;
-        Hashmap *top, *bottom;
+        Hashmap *top, *bottom=NULL;
         int r = 0, k;
         Iterator i;
         int n_found = 0;
@@ -453,8 +453,8 @@ int main(int argc, char *argv[]) {
                 "binfmt.d\0"
                 "systemd/system\0"
                 "systemd/user\0"
-                "systemd/system.preset\0"
-                "systemd/user.preset\0"
+                "systemd/system-preset\0"
+                "systemd/user-preset\0"
                 "udev/rules.d\0"
                 "modprobe.d\0";