summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/basic/delete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/basic/delete.c b/source4/torture/basic/delete.c
index 0c01561d2e..0980ae1d0d 100644
--- a/source4/torture/basic/delete.c
+++ b/source4/torture/basic/delete.c
@@ -1177,8 +1177,8 @@ BOOL torture_test_delete(void)
/* See if the file is deleted - shouldn't be.... */
fnum1 = smbcli_open(cli1->tree, fname, O_RDWR, DENY_NONE);
if (fnum1 == -1) {
- printf("(%s) open of %s failed (should succeed)\n",
- __location__, fname);
+ printf("(%s) open of %s failed (should succeed) - %s\n",
+ __location__, fname, smbcli_errstr(cli1->tree));
correct = False;
goto fail;
}