summaryrefslogtreecommitdiff
path: root/regress/lib/libsndio/fd/fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libsndio/fd/fd.c')
-rw-r--r--regress/lib/libsndio/fd/fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/lib/libsndio/fd/fd.c b/regress/lib/libsndio/fd/fd.c
index e7b3b6420a2..af17facca09 100644
--- a/regress/lib/libsndio/fd/fd.c
+++ b/regress/lib/libsndio/fd/fd.c
@@ -306,7 +306,7 @@ main(int argc, char **argv)
events |= POLLIN;
}
if (playpath) {
- playfd = open(playpath, O_RDONLY, 0);
+ playfd = open(playpath, O_RDONLY);
if (playfd < 0) {
perror(playpath);
exit(1);