summaryrefslogtreecommitdiff
path: root/usr.bin/rdistd/server.c
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2001-09-19 10:58:09 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2001-09-19 10:58:09 +0000
commit069129fa3dc05a0a58ae70a73696d129ecfdfbef (patch)
tree443cca5dca37d3a0532829c41e46e95006b5a6b5 /usr.bin/rdistd/server.c
parent6164249d06252e2101a730993f4440c8965e58da (diff)
occured->occurred
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
Diffstat (limited to 'usr.bin/rdistd/server.c')
-rw-r--r--usr.bin/rdistd/server.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/rdistd/server.c b/usr.bin/rdistd/server.c
index 6c216b08110..9754d949f5d 100644
--- a/usr.bin/rdistd/server.c
+++ b/usr.bin/rdistd/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.8 1999/02/04 23:18:57 millert Exp $ */
+/* $OpenBSD: server.c,v 1.9 2001/09/19 10:58:07 mpech Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -38,7 +38,7 @@ static char RCSid[] =
"$From: server.c,v 6.85 1996/03/12 22:55:38 mcooper Exp $";
#else
static char RCSid[] =
-"$OpenBSD: server.c,v 1.8 1999/02/04 23:18:57 millert Exp $";
+"$OpenBSD: server.c,v 1.9 2001/09/19 10:58:07 mpech Exp $";
#endif
static char sccsid[] = "@(#)server.c 5.3 (Berkeley) 6/7/86";
@@ -594,7 +594,7 @@ static void query(name)
if (s > 0)
(void) sendcmd(QC_ONNFS, NULL);
- /* Either the above check was true or an error occured */
+ /* Either the above check was true or an error occurred */
/* and is_nfs_mounted sent the error message */
if (s != 0) {
*ptarget = CNULL;
@@ -609,7 +609,7 @@ static void query(name)
if (s > 0)
(void) sendcmd(QC_ONRO, NULL);
- /* Either the above check was true or an error occured */
+ /* Either the above check was true or an error occurred */
/* and is_ro_mounted sent the error message */
if (s != 0) {
*ptarget = CNULL;
@@ -795,7 +795,7 @@ static void recvfile(new, opts, mode, owner, group, mtime, atime, size)
(void) close(f);
(void) unlink(new);
fatalerr(
- "Read error occured while receiving file.");
+ "Read error occurred while receiving file.");
finish();
}
amt -= j;