aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2016-12-25 13:06:21 -0800
committerRob Landley <rob@landley.net>2016-12-26 10:33:54 -0600
commit8efb96070d6d09434dee2208f0dea6a4aac8b5b8 (patch)
tree3446e14b738513b5b8d525e0bc393b1a4ee5d9a5 /toys
parent17ba06507207c9226c5449325e8984b94daf68cd (diff)
downloadtoybox-8efb96070d6d09434dee2208f0dea6a4aac8b5b8.tar.gz
log: use error_msg instead of perror_msg when errno is meaningless.
Diffstat (limited to 'toys')
-rw-r--r--toys/android/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/android/log.c b/toys/android/log.c
index 7da37b6f..cc800e78 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;
}