From bbc185729bfc96d00705200c4e0cc37c341eeb19 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 26 Jul 2006 11:41:08 +0000 Subject: r17255: fixed BENCH-NBENCH for new smb_raw_find_first() syntax (This used to be commit 7b05c007ea0a8df994af62625b529a164a104903) --- source4/torture/nbench/nbio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c index 2e8be5057a..6de93a7a1c 100644 --- a/source4/torture/nbench/nbio.c +++ b/source4/torture/nbench/nbio.c @@ -619,7 +619,8 @@ void nb_findfirst(const char *mask, int level, int maxcnt, int count, NTSTATUS s mem_ctx = talloc_init("smbcli_dskattr"); - io.t2ffirst.level = level; + io.t2ffirst.level = RAW_SEARCH_TRANS2; + io.t2ffirst.data_level = level; io.t2ffirst.in.max_count = maxcnt; io.t2ffirst.in.search_attrib = FILE_ATTRIBUTE_DIRECTORY; io.t2ffirst.in.pattern = mask; -- cgit