Blame SOURCES/0064-bus-proxyd-avoid-logging-oom-twice.patch

17b0f1
From 61dd027666b40102bc9463217264f1deaab4cc8a Mon Sep 17 00:00:00 2001
17b0f1
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
17b0f1
Date: Tue, 3 Mar 2015 00:05:14 -0500
17b0f1
Subject: [PATCH] bus-proxyd: avoid logging oom twice
17b0f1
17b0f1
(cherry picked from commit c29005212dc38d98c707639d1a82ffa5270f2e97)
17b0f1
---
17b0f1
 src/bus-proxyd/bus-proxyd.c | 2 +-
17b0f1
 1 file changed, 1 insertion(+), 1 deletion(-)
17b0f1
17b0f1
diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c
17b0f1
index b6b0056362..b6550ed3cf 100644
17b0f1
--- a/src/bus-proxyd/bus-proxyd.c
17b0f1
+++ b/src/bus-proxyd/bus-proxyd.c
17b0f1
@@ -82,7 +82,7 @@ static int client_context_new(ClientContext **out) {
17b0f1
 
17b0f1
         c = new0(ClientContext, 1);
17b0f1
         if (!c)
17b0f1
-                return log_oom();
17b0f1
+                return -ENOMEM;
17b0f1
 
17b0f1
         c->fd = -1;
17b0f1