mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
Remove trailing white-spaces in lib/log.c
This commit is contained in:
parent
24ebe2fed9
commit
4648843f81
@ -99,7 +99,7 @@ void lperror(int level, const char * format, ...)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* open connection to syslog if daemon
|
* open connection to syslog if daemon
|
||||||
*/
|
*/
|
||||||
void log_init(const char * name, int isdaemon, int verbose)
|
void log_init(const char * name, int isdaemon, int verbose)
|
||||||
@ -118,7 +118,7 @@ void log_init(const char * name, int isdaemon, int verbose)
|
|||||||
|
|
||||||
if (logpriv->name == NULL)
|
if (logpriv->name == NULL)
|
||||||
fprintf(stderr, "ipmitool: malloc failure\n");
|
fprintf(stderr, "ipmitool: malloc failure\n");
|
||||||
|
|
||||||
logpriv->daemon = isdaemon;
|
logpriv->daemon = isdaemon;
|
||||||
logpriv->level = verbose + LOG_NOTICE;
|
logpriv->level = verbose + LOG_NOTICE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user