On Wed, 25.07.12 11:24, Kay Sievers (k...@vrfy.org) wrote: Heya,
> On Wed, Jul 25, 2012 at 6:12 AM, Shawn Landden <shawnland...@gmail.com> wrote: > > glibc/glib both use "out of memory" consistantly so maybe we should > > consider that instead of this. > > > > Eliminates one string out of a number of binaries. Also fixes extra newline > > in udev/scsi_id > > Applied. Hmm, given that we might run into this again, it might make sense to define function for this? Maybe something like this in log.h? static inline void log_oom(void) { log_error("Out of memory."); return -ENOMEM; } Which we then could use everywhere? Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel