]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:vfs:shadow_copy2: fix quoting in debug messages
authorMichael Adam <obnox@samba.org>
Tue, 11 Apr 2017 09:18:30 +0000 (11:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 21 Apr 2017 07:11:14 +0000 (09:11 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit fffd611fdc558ab428c8a21cf1e68feaf1f6f469)

source3/modules/vfs_shadow_copy2.c

index f0ec8201d7048aaa552a60fa7183a52ec1ebdf92..93ddb1cb28f76ea32e3478f75721707f704bdacf 100644 (file)
@@ -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;