aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}