---
toys/android/log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From e5bc034123bf55f6daf4fb13058a926b12a5b33e Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Sun, 25 Dec 2016 13:06:21 -0800
Subject: [PATCH] log: use error_msg instead of perror_msg when errno is
meaningless.
---
toys/android/log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toys/android/log.c b/toys/android/log.c
index 7da37b6..cc800e7 100644
--- a/toys/android/log.c
+++ b/toys/android/log.c
@@ -47,7 +47,7 @@ void log_main(void)
if ((s-toybuf)+strlen(toys.optargs[i])>=1024) {
memcpy(s, toys.optargs[i], 1024-(s-toybuf));
toybuf[1024] = 0;
- perror_msg("log cut at 1024 bytes");
+ error_msg("log cut at 1024 bytes");
break;
}
--
2.8.0.rc3.226.g39d4020
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net