aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/biff
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>1997-12-29 00:09:06 +0000
committerAlexander Langer <alex@FreeBSD.org>1997-12-29 00:09:06 +0000
commitd7d1005304be06c8b9e61169e0fc5e43e1cee133 (patch)
treeca9cd6cfb604679961011cd8b07e841d39197698 /usr.bin/biff
parent02599128851b07ebac76951c49441c19eafb2b05 (diff)
downloadsrc-d7d1005304be06c8b9e61169e0fc5e43e1cee133.tar.gz
src-d7d1005304be06c8b9e61169e0fc5e43e1cee133.zip
Notes
Diffstat (limited to 'usr.bin/biff')
-rw-r--r--usr.bin/biff/biff.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/biff/biff.c b/usr.bin/biff/biff.c
index a3e450c66412..52f5229ff1a8 100644
--- a/usr.bin/biff/biff.c
+++ b/usr.bin/biff/biff.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: biff.c,v 1.3 1997/06/23 06:45:38 charnier Exp $
*/
#ifndef lint
@@ -54,6 +54,7 @@ static char sccsid[] = "@(#)biff.c 8.1 (Berkeley) 6/6/93";
static void usage __P((void));
+int
main(argc, argv)
int argc;
char *argv[];
@@ -80,7 +81,7 @@ main(argc, argv)
if (*argv == NULL) {
(void)printf("is %s\n", sb.st_mode&0100 ? "y" : "n");
- exit(sb.st_mode & 0100 ? 0 : 1);
+ return(sb.st_mode & 0100 ? 0 : 1);
}
switch(argv[0][0]) {
@@ -95,7 +96,7 @@ main(argc, argv)
default:
usage();
}
- exit(sb.st_mode & 0100 ? 0 : 1);
+ return(sb.st_mode & 0100 ? 0 : 1);
}
static void