X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmiracle%2Fmiracle_log.c;h=62b7f73e627fefd3e53e2e8c632f7eda79c07704;hb=b9998ddda843ad18ad2c8e327523dac4f28ebe1f;hp=adfc54672f8203c17ba3160721dd622c10080aa4;hpb=9390e8b584f3f717f0a326893c0e37cf187a0a51;p=melted diff --git a/src/miracle/miracle_log.c b/src/miracle/miracle_log.c index adfc546..62b7f73 100644 --- a/src/miracle/miracle_log.c +++ b/src/miracle/miracle_log.c @@ -32,11 +32,11 @@ void miracle_log_init( enum log_output method, int new_threshold ) log_output = method; threshold = new_threshold; if (method == log_syslog) - openlog( "dv1394d", LOG_CONS, LOG_DAEMON ); + openlog( "miracle", LOG_CONS, LOG_DAEMON ); } -void miracle_log( int priority, char *format, ... ) +void miracle_log( int priority, const char *format, ... ) { va_list list; va_start( list, format );