s/werror_str/dos_errstr/g to fix compile
authorGerald Carter <jerry@samba.org>
Thu, 11 Apr 2002 02:13:56 +0000 (02:13 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 11 Apr 2002 02:13:56 +0000 (02:13 +0000)
source/rpc_server/srv_spoolss_nt.c

index dff1186e1e7cb13d9e7ad0e0d5bbfac9da9265fa..23754602fba568e928390aac59a845949b876658 100644 (file)
@@ -173,7 +173,7 @@ static void srv_spoolss_replycloseprinter(POLICY_HND *handle)
        
        if (!W_ERROR_IS_OK(result))
                DEBUG(0,("srv_spoolss_replycloseprinter: reply_close_printer failed [%s].\n",
-                       werror_str(result)));
+                       dos_errstr(result)));
 
        /* if it's the last connection, deconnect the IPC$ share */
        if (smb_connections==1) {
@@ -698,7 +698,7 @@ static void send_spoolss_event_notification(PRINTER_MESSAGE_INFO *msg)
                        
                        if (!W_ERROR_IS_OK(result)) {
                                DEBUG(5,("send_spoolss_event_notification: Event notification failed [%s]\n",
-                                       werror_str(result)));
+                                       dos_errstr(result)));
                }
        }
 }
@@ -1607,7 +1607,7 @@ static BOOL srv_spoolss_replyopenprinter(char *printer, uint32 localprinter, uin
 
        if (!W_ERROR_IS_OK(result))
                DEBUG(5,("srv_spoolss_reply_open_printer: Client RPC returned [%s]\n",
-                       werror_str(result)));
+                       dos_errstr(result)));
 
        return (W_ERROR_IS_OK(result)); 
 }