From 81e236a01cd62d97eb149355aa2b7e8ab38d01e0 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Mon, 16 Oct 1995 18:32:35 +0000 Subject: [PATCH] Don't use printf() for simple strings because it is slow. Closes PR 783. Submitted by: Wolfram Schneider --- usr.bin/find/function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index c316b9df5ea..92892bad202 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); }