chiark / gitweb /
use "Out of memory." consistantly (or with "\n")
[elogind.git] / src / rc-local-generator / rc-local-generator.c
index 38168cc01f74af7b5d82e8b42a31a907d0217915..9fafa29f2212919a8385f6abda195e146df78867 100644 (file)
@@ -48,12 +48,12 @@ static int add_symlink(const char *service, const char *where) {
         asprintf(&to, "%s/%s.wants/%s", arg_dest, where, service);
 
         if (!from || !to) {
-                log_error("Out of memory");
+                log_error("Out of memory.");
                 r = -ENOMEM;
                 goto finish;
         }
 
-        mkdir_parents(to, 0755);
+        mkdir_parents_label(to, 0755);
 
         r = symlink(from, to);
         if (r < 0) {