rmc: fix wrong error message
PATCH 1/1 rmc: fix wrong error message
Signed-off-by Jianxun Zhang <[email protected]>
--- src/rmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/rmc.c +1 -1
@@ -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 ;
Signature · 1 line
2.7.4