diff options
author | Shawn Landden <shawnlandden@gmail.com> | 2012-07-24 21:12:43 -0700 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-07-25 11:23:57 +0200 |
commit | 669241a076108e0483d7d8475beaa506106d077e (patch) | |
tree | 33039c6539c1e37c26a9900eddc3fcc2320c617c /src/shared/logs-show.c | |
parent | 22cfbae09d7791c52901c53b240e28c63eee93d4 (diff) |
use "Out of memory." consistantly (or with "\n")
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
Diffstat (limited to 'src/shared/logs-show.c')
-rw-r--r-- | src/shared/logs-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c index a68cd3de57..f90f5a1f0d 100644 --- a/src/shared/logs-show.c +++ b/src/shared/logs-show.c @@ -53,7 +53,7 @@ static int parse_field(const void *data, size_t length, const char *field, char memcpy(buf, (const char*) data + fl, nl); ((char*)buf)[nl] = 0; if (!buf) { - log_error("Out of memory"); + log_error("Out of memory."); return -ENOMEM; } |