libbb: reduce the overhead of single parameter bb_error_msg() calls
[oweals/busybox.git] / miscutils / chat.c
index 5183d1369e58eb027815f0769635214c9d41efe4..a04565063d207552d5c6376ea0d60553df2cd72f 100644 (file)
@@ -307,7 +307,7 @@ int chat_main(int argc UNUSED_PARAM, char **argv)
                        } else if (DIR_SAY == key) {
                                // just print argument verbatim
                                // TODO: should we use full_write() to avoid unistd/stdio conflict?
-                               bb_error_msg("%s", arg);
+                               bb_simple_error_msg(arg);
                        }
                        // next, please!
                        argv++;