summaryrefslogtreecommitdiff
path: root/usr.bin/find
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/find/main.c b/usr.bin/find/main.c
index 4b6a7bfdb88..a067221914e 100644
--- a/usr.bin/find/main.c
+++ b/usr.bin/find/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.31 2017/01/03 21:31:16 tedu Exp $ */
+/* $OpenBSD: main.c,v 1.32 2021/10/24 21:24:16 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -126,7 +126,7 @@ main(int argc, char *argv[])
err(1, NULL);
paths = paths2;
- dotfd = open(".", O_RDONLY, 0);
+ dotfd = open(".", O_RDONLY);
exit(find_execute(find_formplan(argv), paths));
}