[PATCH] fix quoting in debug messages
Jeremy Allison
jra at samba.org
Tue Apr 11 17:08:44 UTC 2017
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 <obnox at samba.org>
> 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 <obnox at samba.org>
> ---
> 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
>
More information about the samba-technical
mailing list