summaryrefslogtreecommitdiffstats
path: root/mille
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>1999-09-08 21:57:16 +0000
committerjsm <jsm@NetBSD.org>1999-09-08 21:57:16 +0000
commit56b3b679266d099eba0ac4e8282b239c652357c3 (patch)
tree7e3a0748576fc3fd8c50331f1d419996a73538fd /mille
parent82852318e37fa7eddacc3dd162a2d16d3a7487b9 (diff)
downloadbsdgames-darwin-56b3b679266d099eba0ac4e8282b239c652357c3.tar.gz
bsdgames-darwin-56b3b679266d099eba0ac4e8282b239c652357c3.tar.zst
bsdgames-darwin-56b3b679266d099eba0ac4e8282b239c652357c3.zip
Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
the games.
Diffstat (limited to 'mille')
-rw-r--r--mille/save.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mille/save.c b/mille/save.c
index 3d9d17c2..a66ea38c 100644
--- a/mille/save.c
+++ b/mille/save.c
@@ -1,4 +1,4 @@
-/* $NetBSD: save.c,v 1.8 1999/09/08 21:17:51 jsm Exp $ */
+/* $NetBSD: save.c,v 1.9 1999/09/08 21:57:18 jsm Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)save.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: save.c,v 1.8 1999/09/08 21:17:51 jsm Exp $");
+__RCSID("$NetBSD: save.c,v 1.9 1999/09/08 21:57:18 jsm Exp $");
#endif
#endif /* not lint */
@@ -152,7 +152,7 @@ rest_f(file)
char buf[80];
STAT sbuf;
- if ((inf = open(file, 0)) < 0) {
+ if ((inf = open(file, O_RDONLY)) < 0) {
warn("%s", file);
exit(1);
}