]> git.cameronkatri.com Git - bsdgames-darwin.git/blobdiff - robots/score.c
Use the symbolic names `SEEK_SET' and `O_RDONLY' where appropriate in
[bsdgames-darwin.git] / robots / score.c
index c22a746378906d84d47770fcb6d6186d9cf67a27..ddc8ce56e14b1c48cdeb74290c081d0d2e2d0550 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: score.c,v 1.8 1999/09/08 21:17:57 jsm Exp $    */
+/*     $NetBSD: score.c,v 1.9 1999/09/08 21:57:20 jsm Exp $    */
 
 /*
  * Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)score.c    8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: score.c,v 1.8 1999/09/08 21:17:57 jsm Exp $");
+__RCSID("$NetBSD: score.c,v 1.9 1999/09/08 21:57:20 jsm Exp $");
 #endif
 #endif /* not lint */
 
@@ -94,7 +94,7 @@ write_score(inf)
 {
        SCORE   *scp;
 
-       lseek(inf, 0L, 0);
+       lseek(inf, 0L, SEEK_SET);
 
        max_uid = htonl(max_uid);
        write(inf, &max_uid, sizeof max_uid);