summaryrefslogtreecommitdiff
path: root/source4/torture/raw/setfileinfo.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-03 17:50:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:31:06 -0500
commit8d5f642ee174efae25b7fe0498f07b9a13f8bfa1 (patch)
tree625fe79b3e8139b2b4fd42a3fcdcc3549476aff4 /source4/torture/raw/setfileinfo.c
parent5ef83290bc4db2ac409b0de32f459aef3c52faeb (diff)
downloadsamba-8d5f642ee174efae25b7fe0498f07b9a13f8bfa1.tar.gz
samba-8d5f642ee174efae25b7fe0498f07b9a13f8bfa1.tar.bz2
samba-8d5f642ee174efae25b7fe0498f07b9a13f8bfa1.zip
r9008: check the return status for the directory handle creations
(This used to be commit 57e44300f73bbf190a0282925591b7dd1dfc2b6b)
Diffstat (limited to 'source4/torture/raw/setfileinfo.c')
-rw-r--r--source4/torture/raw/setfileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c
index 50ace8aa06..d34921806a 100644
--- a/source4/torture/raw/setfileinfo.c
+++ b/source4/torture/raw/setfileinfo.c
@@ -484,7 +484,7 @@ BOOL torture_raw_sfileinfo(void)
CHECK_STR(NAME_INFO, name_info, fname.s, path_fname);
printf("Trying rename with a root fid\n");
- d_fnum = create_directory_handle(cli->tree, BASEDIR);
+ status = create_directory_handle(cli->tree, BASEDIR, &d_fnum);
sfinfo.rename_information.in.new_name = fnum_fname_new+strlen(BASEDIR)+1;
sfinfo.rename_information.in.root_fid = d_fnum;
CHECK_CALL_FNUM(RENAME_INFORMATION, NT_STATUS_INVALID_PARAMETER);