Browse Source

wpa_gui: Fix Windows build

Jouni Malinen 15 years ago
parent
commit
df9b245e76
1 changed files with 2 additions and 2 deletions
  1. 2 2
      wpa_supplicant/wpa_gui-qt4/wpagui.cpp

+ 2 - 2
wpa_supplicant/wpa_gui-qt4/wpagui.cpp

@@ -1705,13 +1705,13 @@ bool WpaGui::serviceRunning()
 
 	scm = OpenSCManager(0, 0, SC_MANAGER_CONNECT);
 	if (!scm) {
-		printf(tr("OpenSCManager failed: %d\n"), (int) GetLastError());
+		printf("OpenSCManager failed: %d\n", (int) GetLastError());
 		return false;
 	}
 
 	svc = OpenService(scm, WPASVC_NAME, SERVICE_QUERY_STATUS);
 	if (!svc) {
-		printf(tr("OpenService failed: %d\n\n"), (int) GetLastError());
+		printf("OpenService failed: %d\n\n", (int) GetLastError());
 		CloseServiceHandle(scm);
 		return false;
 	}