diff options
Diffstat (limited to 'usr.sbin/mopd/mopchk/mopchk.c')
-rw-r--r-- | usr.sbin/mopd/mopchk/mopchk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/mopd/mopchk/mopchk.c b/usr.sbin/mopd/mopchk/mopchk.c index 5e8612272e1..987b4a62d2c 100644 --- a/usr.sbin/mopd/mopchk/mopchk.c +++ b/usr.sbin/mopd/mopchk/mopchk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mopchk.c,v 1.18 2015/02/09 23:00:14 deraadt Exp $ */ +/* $OpenBSD: mopchk.c,v 1.19 2021/10/24 21:24:19 deraadt Exp $ */ /* * Copyright (c) 1995-96 Mats O Jansson. All rights reserved. @@ -117,7 +117,7 @@ main(argc, argv) i++; filename = argv[optind++]; printf("Checking: %s\n",filename); - dl.ldfd = open(filename, O_RDONLY, 0); + dl.ldfd = open(filename, O_RDONLY); if (dl.ldfd == -1) { printf("Unknown file.\n"); } else { |