Anastasia Klimchuk has uploaded this change for review.
layout: Add new line to out of memory error message
Change-Id: I1f5134378b7967931d52ee0556e2061c9a30d27f
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
---
M layout.c
1 file changed, 13 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/52/70552/1
diff --git a/layout.c b/layout.c
index 350e49e..3f2abb9 100644
--- a/layout.c
+++ b/layout.c
@@ -135,13 +135,13 @@
if (colon) {
tmp_name = strndup(arg, colon - arg);
if (!tmp_name) {
- msg_gerr("Out of memory");
+ msg_gerr("Out of memory\n");
goto error;
}
tmp_file = strdup(colon + 1);
if (!tmp_file) {
- msg_gerr("Out of memory");
+ msg_gerr("Out of memory\n");
goto error;
}
} else {
@@ -178,7 +178,7 @@
tmp = malloc(sizeof(*tmp));
if (tmp == NULL) {
- msg_gerr("Out of memory");
+ msg_gerr("Out of memory\n");
goto error;
}
To view, visit change 70552. To unsubscribe, or for help writing mail filters, visit settings.