mirror of
https://github.com/troglobit/finit.git
synced 2026-10-25 12:04:36 +00:00
Refactor, _d() et al to use logit() instead of err.h
This patch is the first in a series of changes to clean up the internal logging APIs of Finit: 1. Convert log macros to use logit() for everything (this patch) 2. Set correct syslog() log level based on debug flag 3. Do closelog()/openlog() when toggling debug flag to control LOG_PERROR Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
d1df837d04
commit
5e8cb63f9a
3 files changed
+12
-15
No files matched your search
@@ -39,8 +39,6 @@
|
||||
#include "private.h"
|
||||
#include "utmp-api.h"
|
||||
|
||||
int _slup = 0; /* INTERNAL: Is syslog up yet? */
|
||||
|
||||
char *strip_line(char *line)
|
||||
{
|
||||
char *ptr;
|
||||
|
||||
Reference in new issue
Block a user