summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-10-04 20:43:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:09 -0500
commitf27d5c7838eb0183baaedb3deb33cdfe7327c917 (patch)
tree14164c306bac34cbc8fc3ca7f3e4aa20b854cd93
parentfaaec2f04ad355f7da4346a81003d3caa432923f (diff)
downloadsamba-f27d5c7838eb0183baaedb3deb33cdfe7327c917.tar.gz
samba-f27d5c7838eb0183baaedb3deb33cdfe7327c917.tar.bz2
samba-f27d5c7838eb0183baaedb3deb33cdfe7327c917.zip
r19077: Fix an uninitialized variable
(This used to be commit 6bc2cce645af94274a5959312c52799c221b0899)
-rw-r--r--source3/smbd/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 9601329b9e..4e91cdfd2a 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -475,8 +475,8 @@ static void validate_my_share_entries(int num,
if (is_deferred_open_entry(share_entry) &&
!open_was_deferred(share_entry->op_mid)) {
pstring str;
- DEBUG(0, ("Got a deferred entry without a request: "
- "PANIC: %s\n", share_mode_str(num, share_entry)));
+ pstr_sprintf(str, "Got a deferred entry without a request: "
+ "PANIC: %s\n", share_mode_str(num, share_entry));
smb_panic(str);
}