diff options
author | wollman <wollman@FreeBSD.org> | 1995-10-16 18:32:35 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1995-10-16 18:32:35 +0000 |
commit | 770f16a538c07c7169c28674120d08bf6084a54d (patch) | |
tree | 2acd0ac41563a82672d424543f251b4f11c28690 | |
parent | e52c654ee229f069ca2d720167cb753d60fac19b (diff) | |
download | FreeBSD-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>
-rw-r--r-- | usr.bin/find/function.c | 2 |
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); } |