diff options
author | Michael Adam <obnox@samba.org> | 2013-05-31 00:45:16 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-10-05 09:21:31 +1300 |
commit | 935120dbc01890e313e2902b13141d4a13fe96d5 (patch) | |
tree | eaae847322efb8ae84c18489b625d9d96891a2ca /source3/modules | |
parent | 9ab89371c8eddad2f274736b508866e2a92b74a3 (diff) | |
download | samba-935120dbc01890e313e2902b13141d4a13fe96d5.tar.gz samba-935120dbc01890e313e2902b13141d4a13fe96d5.tar.bz2 samba-935120dbc01890e313e2902b13141d4a13fe96d5.zip |
shadow_copy2: improve debug in shadow_copy2_convert() in snapdirseverywhere mode
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_shadow_copy2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index cdab21e892..950f290846 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -613,7 +613,8 @@ static char *shadow_copy2_convert(TALLOC_CTX *mem_ctx, ret = SMB_VFS_NEXT_LSTAT(handle, &converted_fname); - DEBUG(10, ("Trying %s: %d (%s)\n", converted, + DEBUG(10, ("Trying[snapdirseverywhere] %s: %d (%s)\n", + converted, ret, ret == 0 ? "ok" : strerror(errno))); if (ret == 0) { /* success */ |