diff options
author | jsm <jsm@NetBSD.org> | 1999-09-08 21:57:16 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 1999-09-08 21:57:16 +0000 |
commit | 56b3b679266d099eba0ac4e8282b239c652357c3 (patch) | |
tree | 7e3a0748576fc3fd8c50331f1d419996a73538fd /sail | |
parent | 82852318e37fa7eddacc3dd162a2d16d3a7487b9 (diff) | |
download | bsdgames-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 'sail')
-rw-r--r-- | sail/sync.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sail/sync.c b/sail/sync.c index db9f4834..8bab1a99 100644 --- a/sail/sync.c +++ b/sail/sync.c @@ -1,4 +1,4 @@ -/* $NetBSD: sync.c,v 1.11 1999/02/10 00:45:46 hubertf Exp $ */ +/* $NetBSD: sync.c,v 1.12 1999/09/08 21:57:20 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)sync.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: sync.c,v 1.11 1999/02/10 00:45:46 hubertf Exp $"); +__RCSID("$NetBSD: sync.c,v 1.12 1999/09/08 21:57:20 jsm Exp $"); #endif #endif /* not lint */ @@ -262,7 +262,7 @@ Sync() } if (n <= 0) return -1; - (void) fseek(sync_fp, sync_seek, 0); + (void) fseek(sync_fp, sync_seek, SEEK_SET); for (;;) { switch (fscanf(sync_fp, "%d%d%d", &type, &shipnum, &isstr)) { case 3: |