From: Zbigniew Jędrzejewski-Szmek Date: Tue, 3 Mar 2015 05:05:14 +0000 (-0500) Subject: bus-proxyd: avoid logging oom twice X-Git-Tag: v220~928 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c29005212dc38d98c707639d1a82ffa5270f2e97;p=thirdparty%2Fsystemd.git bus-proxyd: avoid logging oom twice --- diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c index 9645c504f53..d6128168512 100644 --- a/src/bus-proxyd/bus-proxyd.c +++ b/src/bus-proxyd/bus-proxyd.c @@ -68,7 +68,7 @@ static int client_context_new(ClientContext **out) { c = new0(ClientContext, 1); if (!c) - return log_oom(); + return -ENOMEM; c->fd = -1;