From: Florian Forster Date: Tue, 27 Mar 2007 13:09:46 +0000 (+0200) Subject: syslog plugin: Fixed typo. s/sevetiry/severity/g; X-Git-Tag: collectd-4.0.0~134 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d7ad0d660a68007010a45ec89849ce2f156cc433;p=collectd.git syslog plugin: Fixed typo. s/sevetiry/severity/g; --- diff --git a/src/syslog.c b/src/syslog.c index 9ad26085..3123e89b 100644 --- a/src/syslog.c +++ b/src/syslog.c @@ -71,12 +71,12 @@ static int sl_init (void) return (0); } -static void sl_log (int sevetiry, const char *msg) +static void sl_log (int severity, const char *msg) { - if (sevetiry > log_level) + if (severity > log_level) return; - syslog (sevetiry, "%s", msg); + syslog (severity, "%s", msg); } /* void sl_log */ static int sl_shutdown (void)