diff options
-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; |