summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-10-16 18:32:35 +0000
committerwollman <wollman@FreeBSD.org>1995-10-16 18:32:35 +0000
commit770f16a538c07c7169c28674120d08bf6084a54d (patch)
tree2acd0ac41563a82672d424543f251b4f11c28690 /usr.bin/find
parente52c654ee229f069ca2d720167cb753d60fac19b (diff)
downloadFreeBSD-src-770f16a538c07c7169c28674120d08bf6084a54d.zip
FreeBSD-src-770f16a538c07c7169c28674120d08bf6084a54d.tar.gz
Don't use printf() for simple strings because it is slow. Closes PR 783.
Submitted by: Wolfram Schneider <wosch@freebsd.first.gmd.de>
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c
index c316b9d..92892ba 100644
--- a/usr.bin/find/function.c
+++ b/usr.bin/find/function.c
@@ -783,7 +783,7 @@ f_print(plan, entry)
PLAN *plan;
FTSENT *entry;
{
- (void)printf("%s\n", entry->fts_path);
+ (void)puts(entry->fts_path);
return (1);
}
OpenPOWER on IntegriCloud