When message-type is drvupgrade, MSG_DEBUG should be replaced with MSG_PRINTER_DRVUPG...
authorPeng Haitao <penght@cn.fujitsu.com>
Wed, 22 May 2013 21:03:13 +0000 (14:03 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 10 Jun 2013 19:24:40 +0000 (21:24 +0200)
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Fix bug #9941 - Fix a bug of drvupgrade of smbcontrol.

source3/utils/smbcontrol.c

index 2759136657a0dd81afca5602327d85945a18c880..acf963b53b784420a524cdabe9b1d30710a56e9a 100644 (file)
@@ -936,7 +936,7 @@ static bool do_drvupgrade(struct messaging_context *msg_ctx,
                return False;
        }
 
-       return send_message(msg_ctx, pid, MSG_DEBUG, argv[1],
+       return send_message(msg_ctx, pid, MSG_PRINTER_DRVUPGRADE, argv[1],
                            strlen(argv[1]) + 1);
 }