Fix debug messages.
authorJeremy Allison <jra@samba.org>
Sat, 23 Feb 2008 00:12:57 +0000 (16:12 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 23 Feb 2008 00:12:57 +0000 (16:12 -0800)
Jeremy.

source/smbd/open.c

index aa4bc48f3d1197e71c43eff0bae8e769be7f36c2..cc7850337900af2cf360f529b526d3fd9f38ac46 100644 (file)
@@ -2671,8 +2671,9 @@ NTSTATUS create_file_unixpath(connection_struct *conn,
                status = split_ntfs_stream_name(talloc_tos(), fname,
                                                &base, NULL);
                if (!NT_STATUS_IS_OK(status)) {
-                       DEBUG(10, ("split_ntfs_stream_name failed: %s\n",
-                                  nt_errstr(status)));
+                       DEBUG(10, ("create_file_unixpath: "
+                               "split_ntfs_stream_name failed: %s\n",
+                               nt_errstr(status)));
                        goto fail;
                }
 
@@ -2840,7 +2841,7 @@ NTSTATUS create_file_unixpath(connection_struct *conn,
                }
        }
 
-       DEBUG(10, ("create_file: info=%d\n", info));
+       DEBUG(10, ("create_file_unixpath: info=%d\n", info));
 
        /*
         * Set fsp->base_fsp late enough that we can't "goto fail" anymore. In
@@ -2867,7 +2868,7 @@ NTSTATUS create_file_unixpath(connection_struct *conn,
        return NT_STATUS_OK;
 
  fail:
-       DEBUG(10, ("create_file: %s\n", nt_errstr(status)));
+       DEBUG(10, ("create_file_unixpath: %s\n", nt_errstr(status)));
 
        if (fsp != NULL) {
                close_file(fsp, ERROR_CLOSE);