Commit d96b3d9b authored by Pierre Ynard's avatar Pierre Ynard

logger: fix syslog output formatting

Remove duplicate " :"
parent 46a33c34
......@@ -348,11 +348,10 @@ static void SyslogPrint( const msg_item_t *p_msg )
int i_priority = i_prio[p_msg->i_type];
if( p_msg->psz_header )
syslog( i_priority, "%s%s %s: %s", p_msg->psz_header,
ppsz_type[p_msg->i_type],
p_msg->psz_module, p_msg->psz_msg );
syslog( i_priority, "%s %s%s%s", p_msg->psz_header, p_msg->psz_module,
ppsz_type[p_msg->i_type], p_msg->psz_msg );
else
syslog( i_priority, "%s%s: %s", p_msg->psz_module,
syslog( i_priority, "%s%s%s", p_msg->psz_module,
ppsz_type[p_msg->i_type], p_msg->psz_msg );
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment