Code

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 9ad26085972a92142dffd22e032a53f345248b58..3123e89b4f8705d0f069e63f264b13b5d87c1d20 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)