chiark / gitweb /
udev: in addition to DEVMODE, honor DEVUID, DEVGID from the uevent
[elogind.git] / src / rc-local-generator / rc-local-generator.c
index f41a6bf265f9f0a5fdcec807baa0aa10f0ccedc2..c219e770470454215129a9bdcf96e5ac6d70f33a 100644 (file)
@@ -48,8 +48,7 @@ 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");
-                r = -ENOMEM;
+                r = log_oom();
                 goto finish;
         }