From a61d4a2bb98bef1baf926d04dc03a23753761164 Mon Sep 17 00:00:00 2001 From: Paul Janzen Date: Sun, 29 Nov 1998 19:45:12 +0000 Subject: Minor changes from NetBSD --- games/monop/execute.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'games/monop') 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; } -- cgit v1.2.3