diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2004-12-08 10:34:01 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2004-12-08 10:34:01 +0000 |
commit | f35c270131e5d8744d60492086486ba6cfa40fe3 (patch) | |
tree | 0300c6bea11035067df1e27b23ff51ac715d562b /syslogd.c | |
parent | dbdfb25343a525b852e0954b80c5654aeb6fd175 (diff) | |
download | rsyslog-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) { |