chiark / gitweb /
catalog: open up catalog internals
[elogind.git] / src / shared / ask-password-api.c
index 005f40fef7caea2cc98e1ac6f684b5d194f8b83f..8a0fb89a84b8b69f61cb0a316e4c4d16ba7f56a4 100644 (file)
@@ -281,8 +281,7 @@ static int create_socket(char **name) {
         }
 
         if (!(c = strdup(sa.un.sun_path))) {
-                r = -ENOMEM;
-                log_error("Out of memory.");
+                r = log_oom();
                 goto fail;
         }