On Wed, 27.08.14 04:45, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote:
> > + } > > + > > + bcon = context_new(mycon); > > + if (!bcon) > > + goto out; > This will return 0. Should return log_oom() or ENOMEM instead? Please use ENOMEM here, don't use log_oom(). This is is more or less a library call, so it shouldn't log on its own, but leave that to the caller... Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
