diff options
author | Volker Lendecke <vl@samba.org> | 2019-03-18 11:00:50 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-03-20 22:07:46 +0000 |
commit | 8c12a705e6f16bfe0260c82fcbd62043a4a6ee37 (patch) | |
tree | b86c43937724b636e7270872b067b8e085c154d4 /source3 | |
parent | b5af004b23541550f46ef9b8fcaf5cb045f9da25 (diff) | |
download | samba-8c12a705e6f16bfe0260c82fcbd62043a4a6ee37.tar.gz |
utils: Use cli_hardlink instead of cli_nt_hardlink
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 2 | ||||
-rw-r--r-- | source3/torture/torture.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 9db8ff65717..366368630cb 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4492,7 +4492,7 @@ static int cmd_hardlink(void) return 1; } - status = cli_nt_hardlink(targetcli, targetname, dest); + status = cli_hardlink(targetcli, targetname, dest); if (!NT_STATUS_IS_OK(status)) { d_printf("%s doing an NT hard link of files\n", nt_errstr(status)); diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 639ab27e3b9..c7b3bf28041 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -3833,7 +3833,7 @@ static bool run_oplock4(int dummy) } /* Now create a hardlink. */ - status = cli_nt_hardlink(cli1, fname, fname_ln); + status = cli_hardlink(cli1, fname, fname_ln); if (!NT_STATUS_IS_OK(status)) { printf("nt hardlink failed (%s)\n", nt_errstr(status)); return false; @@ -4737,7 +4737,7 @@ static bool run_deletetest_ln(int dummy) } /* Now create a hardlink. */ - status = cli_nt_hardlink(cli, fname, fname_ln); + status = cli_hardlink(cli, fname, fname_ln); if (!NT_STATUS_IS_OK(status)) { printf("nt hardlink failed (%s)\n", nt_errstr(status)); return false; |