summaryrefslogtreecommitdiffhomepage
path: root/coreutils/expr.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-05-16 14:21:09 +0000
committerMatt Kraai <kraai@debian.org>2001-05-16 14:21:09 +0000
commit59df6f73988b103f0dcfffeaec10642527336c5e (patch)
treefab28cbdabe79bb98e1cdc99f1fa2b6da599f709 /coreutils/expr.c
parentbc604a2f417ea290913fedb6807e390e4fc8833e (diff)
Change 'printf("%s\n", ...)' into 'puts(...)'. Noted and patched in hostname.c
by Larry Doolittle.
Diffstat (limited to 'coreutils/expr.c')
-rw-r--r--coreutils/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/expr.c b/coreutils/expr.c
index 4a537bf33..d6cc82e3e 100644
--- a/coreutils/expr.c
+++ b/coreutils/expr.c
@@ -89,8 +89,8 @@ int expr_main (int argc, char **argv)
if (v->type == integer)
printf ("%d\n", v->u.i);
- else
- printf ("%s\n", v->u.s);
+ else
+ puts (v->u.s);
exit (null (v));
}