diff options
author | Jeremy Allison <jra@samba.org> | 2003-05-22 18:45:24 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-05-22 18:45:24 +0000 |
commit | 4f7e6108bdbb6da29f7d75851e3be5c4567b6fb0 (patch) | |
tree | c6ef24ff2bc08929d0953ea98ccb05ae8ca9a900 /source3 | |
parent | c5278567746158192dda8a691f0640f6edc9272e (diff) | |
download | samba-4f7e6108bdbb6da29f7d75851e3be5c4567b6fb0.tar.gz samba-4f7e6108bdbb6da29f7d75851e3be5c4567b6fb0.tar.bz2 samba-4f7e6108bdbb6da29f7d75851e3be5c4567b6fb0.zip |
Add more info to debug info...
Jeremy.
(This used to be commit 6d3b72b4994a5115a1e7f0ca3912692a33fc690e)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/open.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index e3bd530c17..55fbee372c 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -543,7 +543,11 @@ static void validate_my_share_entries(share_mode_entry *share_entry) fsp = file_find_dif(share_entry->dev, share_entry->inode, share_entry->share_file_id); if (!fsp) { - smb_panic("validate_my_share_entries: Cannot match a share entry with an open file\n"); + pstring str; + slprintf(str, sizeof(str)-1, "validate_my_share_entries: Cannot match a share entry with an open file \ +dev = %x, inode = %.0f file_id = %u\n", (unsigned int)share_entry->dev, (double)share_entry->inode, + (unsigned int)share_entry->share_file_id ); + smb_panic(str); } if (((uint16)fsp->oplock_type) != share_entry->op_type) { |