Use debug function instead of fwprintf

darcs-hash:20051001095709-ac50b-2e4896424ef368850f500b1e816ccd3f0e1ddefa.gz
This commit is contained in:
axel 2005-10-01 19:57:09 +10:00
parent 194f5c3830
commit 64c601c52f

View file

@ -153,7 +153,7 @@ static int get_socket()
char *lockfile = acquire_socket_lock( sock_name ); char *lockfile = acquire_socket_lock( sock_name );
if( lockfile == NULL ) if( lockfile == NULL )
{ {
fwprintf( stderr, L"Unable to obtain lock on socket, exiting" ); debug( 0, L"Unable to obtain lock on socket, exiting" );
exit( EXIT_FAILURE ); exit( EXIT_FAILURE );
} }
debug( 1, L"Acquired lockfile: %s", lockfile ); debug( 1, L"Acquired lockfile: %s", lockfile );