]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_shadow_copy2: Fix a log message
authorAnoop C S <anoopcs@samba.org>
Sat, 20 Jun 2020 11:44:40 +0000 (17:14 +0530)
committerAnoop C S <anoopcs@samba.org>
Sun, 21 Jun 2020 16:20:26 +0000 (16:20 +0000)
Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Sun Jun 21 16:20:26 UTC 2020 on sn-devel-184

source3/modules/vfs_shadow_copy2.c

index 6a1e560988ebbb085b383f815fbd59086189dbc9..3be93f985dd50554a5639ca6a19aa20376d33911 100644 (file)
@@ -2016,8 +2016,8 @@ static int shadow_copy2_get_shadow_copy_data(
 
        p = SMB_VFS_NEXT_FDOPENDIR(handle, dirfsp, NULL, 0);
        if (!p) {
-               DEBUG(2,("shadow_copy2: SMB_VFS_NEXT_OPENDIR() failed for '%s'"
-                        " - %s\n", snapdir, strerror(errno)));
+               DBG_NOTICE("shadow_copy2: SMB_VFS_NEXT_FDOPENDIR() failed for '%s'"
+                          " - %s\n", snapdir, strerror(errno));
                errno = ENOSYS;
                goto done;
        }