aboutsummaryrefslogtreecommitdiff
path: root/findutils/which.c
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/which.c')
-rw-r--r--findutils/which.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/which.c b/findutils/which.c
index b2acd78de..c460ffdd1 100644
--- a/findutils/which.c
+++ b/findutils/which.c
@@ -58,7 +58,7 @@ extern int which_main(int argc, char **argv)
if (stat (buf, &filestat) == 0
&& filestat.st_mode & S_IXUSR)
{
- printf ("%s\n", buf);
+ puts(buf);
found = 1;
break;
}