summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4480017)
raw | patch | inline | side by side (parent: 4480017)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 27 Mar 2007 13:09:46 +0000 (15:09 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 27 Mar 2007 13:09:46 +0000 (15:09 +0200) |
src/syslog.c | patch | blob | history |
diff --git a/src/syslog.c b/src/syslog.c
index 9ad26085972a92142dffd22e032a53f345248b58..3123e89b4f8705d0f069e63f264b13b5d87c1d20 100644 (file)
--- a/src/syslog.c
+++ b/src/syslog.c
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)