summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2007-09-27 17:08:59 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2007-09-27 17:08:59 +0000
commita5db55d861defe22befeb00a84c8d824e60d5614 (patch)
tree00a42b06334ea9ce0c2abc92a44aa262b8f74ec9
parent293f14449fd212b5267d37a2354e8449937869c6 (diff)
"mailling" -> "mailing", from Jung's list; while here, some spacing fixes
ok jmc@
-rw-r--r--usr.bin/oldrdist/docmd.c6
-rw-r--r--usr.bin/oldrdist/main.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/oldrdist/docmd.c b/usr.bin/oldrdist/docmd.c
index b9088d28b69..b12bd955aa9 100644
--- a/usr.bin/oldrdist/docmd.c
+++ b/usr.bin/oldrdist/docmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: docmd.c,v 1.20 2006/12/11 20:50:54 deraadt Exp $ */
+/* $OpenBSD: docmd.c,v 1.21 2007/09/27 17:08:58 sobrado Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -31,7 +31,7 @@
#ifndef lint
/* from: static char sccsid[] = "@(#)docmd.c 8.1 (Berkeley) 6/9/93"; */
-static char *rcsid = "$OpenBSD: docmd.c,v 1.20 2006/12/11 20:50:54 deraadt Exp $";
+static char *rcsid = "$OpenBSD: docmd.c,v 1.21 2007/09/27 17:08:58 sobrado Exp $";
#endif /* not lint */
#include "defs.h"
@@ -562,7 +562,7 @@ notify(file, rhost, to, lmod)
return;
}
/*
- * Create a pipe to mailling program.
+ * Create a pipe to a mail program.
*/
(void) snprintf(buf, sizeof(buf), "%s -oi -t", _PATH_SENDMAIL);
pf = popen(buf, "w");
diff --git a/usr.bin/oldrdist/main.c b/usr.bin/oldrdist/main.c
index ef34c4156fc..dd505f25237 100644
--- a/usr.bin/oldrdist/main.c
+++ b/usr.bin/oldrdist/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.19 2007/04/14 21:44:06 sobrado Exp $ */
+/* $OpenBSD: main.c,v 1.20 2007/09/27 17:08:58 sobrado Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -37,7 +37,7 @@ static char copyright[] =
#ifndef lint
/* from: static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/9/93"; */
-static char *rcsid = "$OpenBSD: main.c,v 1.19 2007/04/14 21:44:06 sobrado Exp $";
+static char *rcsid = "$OpenBSD: main.c,v 1.20 2007/09/27 17:08:58 sobrado Exp $";
#endif /* not lint */
#include <stdarg.h>
@@ -208,8 +208,8 @@ main(argc, argv)
docmdargs(argc, argv);
else {
if (fin == NULL) {
- if(distfile == NULL) {
- if((fin = fopen("distfile","r")) == NULL)
+ if (distfile == NULL) {
+ if ((fin = fopen("distfile","r")) == NULL)
fin = fopen("Distfile", "r");
} else
fin = fopen(distfile, "r");