chiark / gitweb /
log.h: new log_oom() -> int -ENOMEM, use it
[elogind.git] / src / shared / dbus-common.c
index ab1dc4d7e42f99d484c4014d18277b03bb2b50fc..5d64568c3480c5bad20f9810064441df194f0af8 100644 (file)
@@ -1161,7 +1161,7 @@ void bus_async_unregister_and_exit(DBusConnection *bus, const char *name) {
         return;
 
 oom:
-        log_error("Out of memory.");
+        log_oom();
 
         if (pending) {
                 dbus_pending_call_cancel(pending);