Signed-off-by: Jianxun Zhang <[email protected]>
---
src/rmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rmc.c b/src/rmc.c
index 6cf584e..7f63c59 100644
--- a/src/rmc.c
+++ b/src/rmc.c
@@ -112,7 +112,7 @@ static int read_file(const char *pathname, char **data,
size_t* len) {
while (byte < total) {
if ((tmp = read(fd, buf + byte, total - byte)) < 0) {
- perror("rmc: failed to alloc read buf");
+ perror("rmc: failed to read file");
free(buf);
close(fd);
return 1;
--
2.7.4
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto