lkml.org 
[lkml]   [2019]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] dtc: fix spelling mistake "mmory" -> "memory"
Date
From: Colin Ian King <colin.king@canonical.com>

There is a spelling mistake in an error message. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
scripts/dtc/fdtput.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dtc/fdtput.c b/scripts/dtc/fdtput.c
index a363c3cabc59..3755e5f68a5a 100644
--- a/scripts/dtc/fdtput.c
+++ b/scripts/dtc/fdtput.c
@@ -84,7 +84,7 @@ static int encode_value(struct display_info *disp, char **arg, int arg_count,
value_size = (upto + len) + 500;
value = realloc(value, value_size);
if (!value) {
- fprintf(stderr, "Out of mmory: cannot alloc "
+ fprintf(stderr, "Out of memory: cannot alloc "
"%d bytes\n", value_size);
return -1;
}
--
2.20.1
\
 
 \ /
  Last update: 2019-09-11 11:32    [W:0.170 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site