summaryrefslogtreecommitdiff
path: root/tests/service
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-24 14:13:15 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-24 14:13:15 +0100
commitc97627fdfca3a976ef7f3055339021967ca60f6d (patch)
tree2d68b08ae19a6f5d0d97bd9a2cd8a70df8486c3d /tests/service
parent9f45af85f5332dfdc4542ffa71717791d37a6a93 (diff)
downloadwolfbones-c97627fdfca3a976ef7f3055339021967ca60f6d.tar.gz
wolfbones-c97627fdfca3a976ef7f3055339021967ca60f6d.tar.bz2
fixed output in wolf_log_win32
Diffstat (limited to 'tests/service')
-rw-r--r--tests/service/testservice.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/service/testservice.c b/tests/service/testservice.c
index 76b39b2..1bbc261 100644
--- a/tests/service/testservice.c
+++ b/tests/service/testservice.c
@@ -28,13 +28,10 @@ static void wolf_service_register( void ) {
SC_MANAGER_ALL_ACCESS );
if( scm == NULL ) {
- DWORD last_error = GetLastError( );
-
wolf_log_win32( WOLF_LOG_EMERG, WOLF_CATEGORY_TESTSERVICE, WOLF_MSG_TESTSERVICE_CANT_OPEN_SCM,
- _( "Unable to open the service control manager to register srevice '%s'" ),
+ _( "Unable to open the service control manager to register service '%s'" ),
"testservice" );
}
-
}
void __cdecl _tmain( int argc, TCHAR *argv[] ) {