[PATCH] smbcontrol.c: fix a bug of drvupgrade
Jeremy Allison
jra at samba.org
Wed May 22 12:26:28 MDT 2013
On Wed, May 22, 2013 at 04:50:11PM +0800, Peng Haitao wrote:
> When message-type is drvupgrade, MSG_DEBUG should be replaced with MSG_PRINTER_DRVUPGRADE.
>
> Signed-off-by: Peng Haitao <penght at cn.fujitsu.com>
+1
Reviewed-by: Jeremy Allison <jra at samba.org>
> ---
> 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 47884ff..00b23f7 100644
> --- a/source3/utils/smbcontrol.c
> +++ b/source3/utils/smbcontrol.c
> @@ -928,7 +928,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.1.4
Second Team +1 and I'll push, thanks !
Jeremy.
More information about the samba-technical
mailing list