summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-01-23 16:31:19 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-01-23 16:31:19 +0000
commitb08cdefea08f476b6a10aa8bd3b7d0066548a847 (patch)
tree7fe0334290535cb727ce9df181e66fdb1b46d427
parent0ab1462eb84d037e6165f969c6cc2589ab1609e2 (diff)
Use always '.' in the end of the fatal() message. Consistency is good.
millert@ ok.
-rw-r--r--libexec/ftpd/ftpd.c8
-rw-r--r--libexec/ftpd/popen.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 7501b969201..66a5d9d98aa 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.114 2002/01/23 16:27:35 mpech Exp $ */
+/* $OpenBSD: ftpd.c,v 1.115 2002/01/23 16:31:18 mpech Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -73,7 +73,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94";
#else
-static char rcsid[] = "$OpenBSD: ftpd.c,v 1.114 2002/01/23 16:27:35 mpech Exp $";
+static char rcsid[] = "$OpenBSD: ftpd.c,v 1.115 2002/01/23 16:31:18 mpech Exp $";
#endif
#endif /* not lint */
@@ -900,10 +900,10 @@ pass(passwd)
/* Save anonymous' password. */
guestpw = strdup(passwd);
if (guestpw == (char *)NULL)
- fatal("Out of memory");
+ fatal("Out of memory.");
if ((as = auth_open()) == NULL)
- fatal("Out of memory");
+ fatal("Out of memory.");
auth_setoption(as, "FTPD_HOST",
multihome ? dhostname : hostname);
authok = auth_approval(as, lc, pw->pw_name, "ftp");
diff --git a/libexec/ftpd/popen.c b/libexec/ftpd/popen.c
index dedb81d2115..acf15a6f934 100644
--- a/libexec/ftpd/popen.c
+++ b/libexec/ftpd/popen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: popen.c,v 1.13 2001/03/18 17:20:13 deraadt Exp $ */
+/* $OpenBSD: popen.c,v 1.14 2002/01/23 16:31:18 mpech Exp $ */
/* $NetBSD: popen.c,v 1.5 1995/04/11 02:45:00 cgd Exp $ */
/*
@@ -112,14 +112,14 @@ ftpd_popen(program, type)
if (gargc < MAX_GARGV-1) {
gargv[gargc++] = strdup(argv[argc]);
if (gargv[gargc -1] == NULL)
- fatal ("Out of memory");
+ fatal ("Out of memory.");
}
} else
for (pop = gl.gl_pathv; *pop && gargc < MAX_GARGV-1; pop++) {
gargv[gargc++] = strdup(*pop);
if (gargv[gargc - 1] == NULL)
- fatal ("Out of memory");
+ fatal ("Out of memory.");
}
globfree(&gl);
}