[systemd-devel] [PATCH 2/2] log: fix error codes handling in catalog_list_items

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Wed Mar 27 09:32:25 PDT 2013


On Wed, Mar 27, 2013 at 05:15:07PM +0100, Lukáš Nykrýn wrote:
> So if we want to return first error  there should be
> -                        if (r < 0)
> +                        if (r == 0)
>                                 r = k;
> 
> Am I right?
Ooops. Yes.

Zbyszek


More information about the systemd-devel mailing list