diff options
author | Volker Lendecke <vl@samba.org> | 2019-03-14 11:40:23 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-03-18 19:21:23 +0000 |
commit | 769b51dae8ab4533741ac83ef7c365ae17bf9478 (patch) | |
tree | 94a227fd0fd05738353944b92d11355fb610f03a /source3/torture | |
parent | 068f42bed782f3489086909b202be942d1160845 (diff) | |
download | samba-769b51dae8ab4533741ac83ef7c365ae17bf9478.tar.gz |
torture3: Fix an error message
We tried to open "dname", not "fname"
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index ac10de2fdcc..8b1bf326769 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -6416,7 +6416,9 @@ static bool run_simple_posix_open_test(int dummy) /* What happens when we try and POSIX open a directory for write ? */ status = cli_posix_open(cli1, dname, O_RDWR, 0, &fnum1); if (NT_STATUS_IS_OK(status)) { - printf("POSIX open of directory %s succeeded, should have failed.\n", fname); + printf("POSIX open of directory %s succeeded, " + "should have failed.\n", + dname); goto out; } else { if (!check_both_error(__LINE__, status, ERRDOS, EISDIR, |