net: added missing service name

Roy Shea roy at cs.hmc.edu
Tue Oct 2 12:00:45 CDT 2007


Added missing service name to output when attempting to start services
with net.

-------------- next part --------------
 programs/net/net.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/programs/net/net.c b/programs/net/net.c
index 73e1763..4bc3652 100644
--- a/programs/net/net.c
+++ b/programs/net/net.c
@@ -99,8 +99,8 @@ static BOOL net_service(int operation, char *service_name)
         output_string(STRING_START_SVC, service_display_name);
         result = StartService(serviceHandle, 0, NULL);
 
-        if(result) output_string(STRING_START_SVC_SUCCESS);
-        else output_string(STRING_START_SVC_FAIL);
+        if(result) output_string(STRING_START_SVC_SUCCESS, service_display_name);
+        else output_string(STRING_START_SVC_FAIL, service_display_name);
         break;
     case NET_STOP:
         output_string(STRING_STOP_SVC, service_display_name);


More information about the wine-patches mailing list