From e2b7d8574531aada76ac94c1d52be238696d953c Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Sun, 23 Jan 2000 20:17:41 +0000 Subject: [PATCH] Do not dot terminate sentences inside FILES section. Lowercase inside error messages. --- usr.sbin/inetd/inetd.8 | 10 +++++----- usr.sbin/inetd/inetd.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/usr.sbin/inetd/inetd.8 b/usr.sbin/inetd/inetd.8 index 3796c50ef75f..2a3b411ba83f 100644 --- a/usr.sbin/inetd/inetd.8 +++ b/usr.sbin/inetd/inetd.8 @@ -277,7 +277,7 @@ use the .Dq nowait entry. Connection requests for these services are accepted by -.Nm inetd , +.Nm Ns , and the server is given only the newly-accepted socket connected to a client of the service. Most stream-based services operate in this manner. @@ -531,14 +531,14 @@ to list TCPMUX services in .Sh "FILES" .Bl -tag -width /var/run/inetd.pid -compact .It Pa /etc/inetd.conf -configuration file. +configuration file .It Pa /etc/rpc -translation of service names to RPC program numbers. +translation of service names to RPC program numbers .It Pa /etc/services -translation of service names to port numbers. +translation of service names to port numbers .It Pa /var/run/inetd.pid the pid of the currently running -.Nm inetd . +.Nm .El .Sh "EXAMPLES" .Pp diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index dc99fa023c8f..33787536978d 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -408,7 +408,7 @@ main(argc, argv, envp) exit(EX_OSERR); } if (debug) - warnx("Handling signal flag %c", c); + warnx("handling signal flag %c", c); switch(c) { case 'A': /* sigalrm */ retry(); @@ -576,7 +576,7 @@ main(argc, argv, envp) dup2(0, 2); if ((pwd = getpwnam(sep->se_user)) == NULL) { syslog(LOG_ERR, - "%s/%s: %s: No such user", + "%s/%s: %s: no such user", sep->se_service, sep->se_proto, sep->se_user); if (sep->se_socktype != SOCK_STREAM) @@ -588,7 +588,7 @@ main(argc, argv, envp) && (grp = getgrnam(sep->se_group)) == NULL ) { syslog(LOG_ERR, - "%s/%s: %s: No such group", + "%s/%s: %s: no such group", sep->se_service, sep->se_proto, sep->se_group); if (sep->se_socktype != SOCK_STREAM) @@ -762,13 +762,13 @@ void config() while ((new = getconfigent())) { if (getpwnam(new->se_user) == NULL) { syslog(LOG_ERR, - "%s/%s: No such user '%s', service ignored", + "%s/%s: no such user '%s', service ignored", new->se_service, new->se_proto, new->se_user); continue; } if (new->se_group && getgrnam(new->se_group) == NULL) { syslog(LOG_ERR, - "%s/%s: No such group '%s', service ignored", + "%s/%s: no such group '%s', service ignored", new->se_service, new->se_proto, new->se_group); continue; }