syslog plugin: Fixed typo. s/sevetiry/severity/g;
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 27 Mar 2007 13:09:46 +0000 (15:09 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 27 Mar 2007 13:09:46 +0000 (15:09 +0200)
src/syslog.c

index 9ad2608..3123e89 100644 (file)
@@ -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)