summaryrefslogtreecommitdiff
path: root/games/monop
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1998-11-29 19:45:12 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1998-11-29 19:45:12 +0000
commita61d4a2bb98bef1baf926d04dc03a23753761164 (patch)
tree0b3a922f43a487bfb42046f533c088509a1f33ce /games/monop
parentb84b006f18895b26889fc960039cd3d71541556f (diff)
Minor changes from NetBSD
Diffstat (limited to 'games/monop')
-rw-r--r--games/monop/execute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/monop/execute.c b/games/monop/execute.c
index 95b38f7db53..770942efa0e 100644
--- a/games/monop/execute.c
+++ b/games/monop/execute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: execute.c,v 1.2 1998/09/20 23:36:50 pjanzen Exp $ */
+/* $OpenBSD: execute.c,v 1.3 1998/11/29 19:45:11 pjanzen Exp $ */
/* $NetBSD: execute.c,v 1.3 1995/03/23 08:34:38 cgd Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)execute.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: execute.c,v 1.2 1998/09/20 23:36:50 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: execute.c,v 1.3 1998/11/29 19:45:11 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -266,7 +266,7 @@ rest_f(file)
char *start, *end;
STAT sbuf;
- if ((inf = open(file, 0)) < 0) {
+ if ((inf = open(file, O_RDONLY)) < 0) {
warn(file);
return FALSE;
}