From b78a186338bd46f0d5b665fc2f98b444ab658e42 Mon Sep 17 00:00:00 2001 From: Peng Haitao Date: Wed, 22 May 2013 14:03:13 -0700 Subject: [PATCH] When message-type is drvupgrade, MSG_DEBUG should be replaced with MSG_PRINTER_DRVUPGRADE. Reviewed-by: Jeremy Allison Reviewed-by: Michael Adam --- source3/utils/smbcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 900ae9a..a522782 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -926,7 +926,7 @@ static bool do_drvupgrade(struct tevent_context *ev_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); } -- 1.8.3