aboutsummaryrefslogtreecommitdiff
path: root/coreutils/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/echo.c')
-rw-r--r--coreutils/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c
index 5dc5be072..b3828894c 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -188,7 +188,7 @@ int echo_main(int argc UNUSED_PARAM, char **argv)
188 /*r =*/ full_write(STDOUT_FILENO, buffer, out - buffer); 188 /*r =*/ full_write(STDOUT_FILENO, buffer, out - buffer);
189 free(buffer); 189 free(buffer);
190 if (/*WRONG:r < 0*/ errno) { 190 if (/*WRONG:r < 0*/ errno) {
191 bb_perror_msg(bb_msg_write_error); 191 bb_simple_perror_msg(bb_msg_write_error);
192 return 1; 192 return 1;
193 } 193 }
194 return 0; 194 return 0;