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)
committerJeremy Allison <jra@samba.org>
Tue, 11 Apr 2017 23:41:13 +0000 (01:41 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_shadow_copy2.c

index 2afc5954e7d26f5a4cc8b681c378e8f87d89e263..f3ec8b61ab5e87f77e0d320ff767eb17029e8f77 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;