summaryrefslogtreecommitdiffstats
path: root/usr.sbin/faithd/faithd.c
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-02-10 19:42:42 +0000
committershin <shin@FreeBSD.org>2000-02-10 19:42:42 +0000
commit45bda4b5304e92e11573063a453874bc9d16a306 (patch)
tree389611a60cb08c2cda79028b0fc699b5385a6eec /usr.sbin/faithd/faithd.c
parent0539d56f5e4dcf77c207320d6ee06b0ca8408698 (diff)
downloadFreeBSD-src-45bda4b5304e92e11573063a453874bc9d16a306.zip
FreeBSD-src-45bda4b5304e92e11573063a453874bc9d16a306.tar.gz
Wording fixes
Submitted by: charnier
Diffstat (limited to 'usr.sbin/faithd/faithd.c')
-rw-r--r--usr.sbin/faithd/faithd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/faithd/faithd.c b/usr.sbin/faithd/faithd.c
index ee6c8df..6c4a6a4 100644
--- a/usr.sbin/faithd/faithd.c
+++ b/usr.sbin/faithd/faithd.c
@@ -192,7 +192,7 @@ main(int argc, char *argv[])
default:
serverargc = argc - NUMARG;
if (serverargc > MAXARGV)
- exit_error("too many augments");
+ exit_error("too many arguments");
serverpath = malloc(strlen(argv[NUMPRG]));
strcpy(serverpath, argv[NUMPRG]);
@@ -201,7 +201,7 @@ main(int argc, char *argv[])
strcpy(serverarg[i], argv[i + NUMARG]);
}
serverarg[i] = NULL;
- /* fall throuth */
+ /* FALLTHROUGH */
case 1: /* no local service */
service = argv[NUMPRT];
break;
@@ -278,10 +278,10 @@ main(int argc, char *argv[])
snprintf(logname, sizeof(logname), "faithd %s", service);
snprintf(procname, sizeof(procname), "accepting port %s", service);
openlog(logname, LOG_PID | LOG_NOWAIT, LOG_DAEMON);
- syslog(LOG_INFO, "Staring faith daemon for %s port", service);
+ syslog(LOG_INFO, "starting faith daemon for %s port", service);
play_service(s_wld);
- /*NOTRECHED*/
+ /*NOTREACHED*/
exit(1); /*pacify gcc*/
}
@@ -625,7 +625,7 @@ sig_child(int sig)
void
sig_terminate(int sig)
{
- syslog(LOG_INFO, "Terminating faith daemon");
+ syslog(LOG_INFO, "terminating faith daemon");
exit(EXIT_SUCCESS);
}
OpenPOWER on IntegriCloud