diff options
author | mrg <mrg@NetBSD.org> | 1996-05-22 00:34:35 +0000 |
---|---|---|
committer | mrg <mrg@NetBSD.org> | 1996-05-22 00:34:35 +0000 |
commit | 9c906fe8393c2c0fdbad40c90606cefc983a91a0 (patch) | |
tree | adc510af0cb24bbd6ff10ed6ededb9b89752a70b /larn | |
parent | 2467f99a267946648e1f54c4eb4703617db3c21e (diff) | |
download | bsdgames-darwin-9c906fe8393c2c0fdbad40c90606cefc983a91a0.tar.gz bsdgames-darwin-9c906fe8393c2c0fdbad40c90606cefc983a91a0.tar.zst bsdgames-darwin-9c906fe8393c2c0fdbad40c90606cefc983a91a0.zip |
move the ) to after the 3rd arg to open. weeeeee!
Diffstat (limited to 'larn')
-rw-r--r-- | larn/bill.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/larn/bill.c b/larn/bill.c index 53625023..3d1799e6 100644 --- a/larn/bill.c +++ b/larn/bill.c @@ -1,4 +1,4 @@ -/* $NetBSD: bill.c,v 1.3 1995/03/23 08:33:10 cgd Exp $ */ +/* $NetBSD: bill.c,v 1.4 1996/05/22 00:34:35 mrg Exp $ */ /*- * Copyright (c) 1991 The Regents of the University of California. @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)bill.c 5.2 (Berkeley) 5/28/91"; #else -static char rcsid[] = "$NetBSD: bill.c,v 1.3 1995/03/23 08:33:10 cgd Exp $"; +static char rcsid[] = "$NetBSD: bill.c,v 1.4 1996/05/22 00:34:35 mrg Exp $"; #endif #endif /* not lint */ @@ -134,8 +134,8 @@ mailbill() cp = mail; sprintf(fname, "/tmp/#%dlarnmail", getpid()); for (i = 0; i < 6; i++) { - if ((fd = open(fname, O_WRONLY | O_TRUNC | O_CREAT), - 0666) == -1) + if ((fd = open(fname, O_WRONLY | O_TRUNC | O_CREAT, + 0666)) == -1) exit(0); while (*cp != NULL) { if (*cp[0] == '1') { |