summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2007-05-10 09:00:18 +0000
committerjmc <jmc@openbsd.org>2007-05-10 09:00:18 +0000
commit73efaf4a147aff48c890eefbb4aad3ad180f6159 (patch)
tree5fd1d1a0f5ea347cecfdc8d0a7d373270dfa0f10
parentdocument net.inet.tcp.keepinittime; (diff)
downloadwireguard-openbsd-73efaf4a147aff48c890eefbb4aad3ad180f6159.tar.xz
wireguard-openbsd-73efaf4a147aff48c890eefbb4aad3ad180f6159.zip
ftsopen -> fts_open; partly from Alexander Holupirek, documentation/5472
ok simon art
-rw-r--r--usr.bin/find/find.c6
-rw-r--r--usr.bin/find/main.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/find/find.c b/usr.bin/find/find.c
index 87b4c38e7a8..0f1488c0ee5 100644
--- a/usr.bin/find/find.c
+++ b/usr.bin/find/find.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: find.c,v 1.12 2006/12/26 20:59:01 otto Exp $ */
+/* $OpenBSD: find.c,v 1.13 2007/05/10 09:00:18 jmc Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -34,7 +34,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)find.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: find.c,v 1.12 2006/12/26 20:59:01 otto Exp $";
+static char rcsid[] = "$OpenBSD: find.c,v 1.13 2007/05/10 09:00:18 jmc Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -156,7 +156,7 @@ find_execute(PLAN *plan, /* search plan */
PLAN *p;
if (!(tree = fts_open(paths, ftsoptions, NULL)))
- err(1, "ftsopen");
+ err(1, "fts_open");
sigfillset(&fullset);
for (;;) {
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index 42c62f3de27..3ec0cf8e546 100644
--- a/usr.bin/find/main.c
+++ b/usr.bin/find/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.22 2005/08/30 21:43:49 david Exp $ */
+/* $OpenBSD: main.c,v 1.23 2007/05/10 09:00:18 jmc Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -31,7 +31,7 @@
#ifndef lint
/*static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";*/
-static char rcsid[] = "$OpenBSD: main.c,v 1.22 2005/08/30 21:43:49 david Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.23 2007/05/10 09:00:18 jmc Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -51,7 +51,7 @@ static char rcsid[] = "$OpenBSD: main.c,v 1.22 2005/08/30 21:43:49 david Exp $";
time_t now; /* time find was run */
int dotfd; /* starting directory */
-int ftsoptions; /* options for the ftsopen(3) call */
+int ftsoptions; /* options for the fts_open(3) call */
int isdepth; /* do directories on post-order visit */
int isoutput; /* user specified output operator */
int isxargs; /* don't permit xargs delimiting chars */