[PATCH] fix quoting in debug messages

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[PATCH] fix quoting in debug messages

Samba - samba-technical mailing list
Attached. Review appreciated!

Thanks - Michael

patch2 (1K) Download Attachment
signature.asc (169 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [PATCH] fix quoting in debug messages

Samba - samba-technical mailing list
On Tue, Apr 11, 2017 at 12:17:36PM +0200, Michael Adam via samba-technical wrote:
> Attached. Review appreciated!

LGTM. RB+. Pushed.

> From f4a846fbea23acc7122728b9b5cf16d631c5dc8f Mon Sep 17 00:00:00 2001
> From: Michael Adam <[hidden email]>
> Date: Tue, 11 Apr 2017 11:18:30 +0200
> Subject: [PATCH] s3:vfs:shadow_copy2: fix quoting in debug messages
>
> Signed-off-by: Michael Adam <[hidden email]>
> ---
>  source3/modules/vfs_shadow_copy2.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
> index 2afc595..f3ec8b6 100644
> --- a/source3/modules/vfs_shadow_copy2.c
> +++ b/source3/modules/vfs_shadow_copy2.c
> @@ -684,7 +684,7 @@ static bool shadow_copy2_strip_snapshot_internal(TALLOC_CTX *mem_ctx,
>   if (make_relative_path(priv->shadow_cwd,
>   stripped) == false) {
>   DEBUG(10, (__location__ ": path '%s' "
> - "doesn't start with cwd '%s\n",
> + "doesn't start with cwd '%s'\n",
>   stripped, priv->shadow_cwd));
>   ret = false;
>   errno = ENOENT;
> @@ -726,7 +726,7 @@ static bool shadow_copy2_strip_snapshot_internal(TALLOC_CTX *mem_ctx,
>   if (make_relative_path(priv->shadow_cwd,
>   stripped) == false) {
>   DEBUG(10, (__location__ ": path '%s' "
> - "doesn't start with cwd '%s\n",
> + "doesn't start with cwd '%s'\n",
>   stripped, priv->shadow_cwd));
>   ret = false;
>   errno = ENOENT;
> --
> 2.9.3
>




Loading...