summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2004-12-08 10:34:01 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2004-12-08 10:34:01 +0000
commitf35c270131e5d8744d60492086486ba6cfa40fe3 (patch)
tree0300c6bea11035067df1e27b23ff51ac715d562b /syslogd.c
parentdbdfb25343a525b852e0954b80c5654aeb6fd175 (diff)
downloadrsyslog-f35c270131e5d8744d60492086486ba6cfa40fe3.tar.gz
rsyslog-f35c270131e5d8744d60492086486ba6cfa40fe3.tar.xz
rsyslog-f35c270131e5d8744d60492086486ba6cfa40fe3.zip
some very minor glitches fixed (mostly text)
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/syslogd.c b/syslogd.c
index 3a913048..16536ec9 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -2116,7 +2116,7 @@ int main(argc, argv)
StripDomains = crunch_list(optarg);
break;
case 'v':
- printf("rsyslogd %s.%s\n", VERSION, PATCHLEVEL);
+ printf("syslogd %s.%s\n", VERSION, PATCHLEVEL);
exit (0);
case '?':
default:
@@ -2431,7 +2431,7 @@ int main(argc, argv)
int usage()
{
- fprintf(stderr, "usage: rsyslogd [-drvh] [-l hostlist] [-m markinterval] [-n] [-p path]\n" \
+ fprintf(stderr, "usage: syslogd [-drvh] [-l hostlist] [-m markinterval] [-n] [-p path]\n" \
" [-s domainlist] [-f conffile]\n");
exit(1);
}
@@ -4820,7 +4820,7 @@ void initMySQL(register struct filed *f)
else
{
f->f_timeResumeOnError = 0; /* We have a working db connection */
- dprintf("connect successfully to db\n");
+ dprintf("connected successfully to db\n");
}
} while (mysql_errno(&f->f_hmysql) && iCounter<2);
}
@@ -4939,7 +4939,7 @@ void DBErrorHandler(register struct filed *f)
* a little bit longer. It also check if the DB hanlde is still valid.
* If it is necessary, it takes action to reinitiate the db connection.
*
- * \ret int Returns 0 if no error dedected.
+ * \ret int Returns 0 if successful (no error)
*/
int checkDBErrorState(register struct filed *f)
{