diff options
Diffstat (limited to 'coreutils/expr.c')
-rw-r--r-- | coreutils/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/expr.c b/coreutils/expr.c index ea99d8b5b..854a657f9 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c @@ -87,11 +87,11 @@ int expr_main(int argc, char **argv) bb_error_msg_and_die("syntax error"); if (v->type == integer) - bb_printf("%" PF_REZ "d\n", PF_REZ_TYPE v->u.i); + printf("%" PF_REZ "d\n", PF_REZ_TYPE v->u.i); else puts(v->u.s); - exit(null(v)); + fflush_stdout_and_exit(null(v)); } /* Return a VALUE for I. */ |