summaryrefslogtreecommitdiff
path: root/source4/torture/nbench
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 13:01:45 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:09:19 +0100
commit03ed70c9f3485e99b7a9574f076c98a631a358bf (patch)
tree46c216e0130c3a5ea43920374057fb1b66b271c4 /source4/torture/nbench
parentb4af7074b789b434f083a89a70c7cf7f8e43f4d4 (diff)
downloadsamba-03ed70c9f3485e99b7a9574f076c98a631a358bf.tar.gz
samba-03ed70c9f3485e99b7a9574f076c98a631a358bf.tar.bz2
samba-03ed70c9f3485e99b7a9574f076c98a631a358bf.zip
s4:torture/nbench: don't use 'new'
metze
Diffstat (limited to 'source4/torture/nbench')
-rw-r--r--source4/torture/nbench/nbio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c
index fa5fe5d2d6..bf594088cd 100644
--- a/source4/torture/nbench/nbio.c
+++ b/source4/torture/nbench/nbio.c
@@ -802,15 +802,15 @@ bool nb_mkdir(const char *dname, NTSTATUS status, bool retry)
return true;
}
-bool nb_rename(const char *old, const char *new, NTSTATUS status, bool retry)
+bool nb_rename(const char *o, const char *n, NTSTATUS status, bool retry)
{
NTSTATUS ret;
union smb_rename io;
io.generic.level = RAW_RENAME_RENAME;
io.rename.in.attrib = FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_DIRECTORY;
- io.rename.in.pattern1 = old;
- io.rename.in.pattern2 = new;
+ io.rename.in.pattern1 = o;
+ io.rename.in.pattern2 = n;
ret = smb_raw_rename(c->tree, &io);