From 9c906fe8393c2c0fdbad40c90606cefc983a91a0 Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 22 May 1996 00:34:35 +0000 Subject: move the ) to after the 3rd arg to open. weeeeee! --- larn/bill.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'larn') 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') { -- cgit v1.2.3-56-ge451