summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-07-26 11:41:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:10:24 -0500
commitbbc185729bfc96d00705200c4e0cc37c341eeb19 (patch)
treead14055b74c71a372b652aef039c5c745ea9118f /source4
parent308abfefb900b510be968784ad60f7900e44ee14 (diff)
downloadsamba-bbc185729bfc96d00705200c4e0cc37c341eeb19.tar.gz
samba-bbc185729bfc96d00705200c4e0cc37c341eeb19.tar.bz2
samba-bbc185729bfc96d00705200c4e0cc37c341eeb19.zip
r17255: fixed BENCH-NBENCH for new smb_raw_find_first() syntax
(This used to be commit 7b05c007ea0a8df994af62625b529a164a104903)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/nbench/nbio.c3
1 files changed, 2 insertions, 1 deletions
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;