From e8e9e7f2fe33d1e158202df4eb91d3738c9eb266 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 13 Jan 2016 01:37:24 +0100 Subject: [PATCH] vfs:shadow_copy2: fix a debug message The debug message for the mountpoint option was the wrong way around. This fixes it, also converting the message to use DBG_WARNING() while we're touching it. Signed-off-by: Michael Adam Reviewed-by: Uri Simchoni Autobuild-User(master): Uri Simchoni Autobuild-Date(master): Wed Jan 13 10:56:42 CET 2016 on sn-devel-144 --- source3/modules/vfs_shadow_copy2.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index d1673a427ef..93bca9c3da1 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -1900,11 +1900,12 @@ static int shadow_copy2_connect(struct vfs_handle_struct *handle, char *p; p = strstr(handle->conn->connectpath, mount_point); if (p != handle->conn->connectpath) { - DEBUG(1, ("Warning: mount_point (%s) is not a " - "subdirectory of the share root " - "(%s). Ignoring provided value.\n", - mount_point, - handle->conn->connectpath)); + DBG_WARNING("Warning: the share root (%s) is " + "not a subdirectory of the " + "specified mountpoint (%s). " + "Ignoring provided value.\n", + handle->conn->connectpath, + mount_point); mount_point = NULL; } } -- 2.34.1