summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-27 17:28:23 -0700
committerJeremy Allison <jra@samba.org>2009-05-27 17:28:23 -0700
commitf55c7614bd7360b484f15c2290ab88195bb78094 (patch)
tree151f2bcfc121a8b3315107a7a7db1aa12e7875ef /source3/client
parente381c13b023f2b512b3f6aec133db9f323bc8132 (diff)
downloadsamba-f55c7614bd7360b484f15c2290ab88195bb78094.tar.gz
samba-f55c7614bd7360b484f15c2290ab88195bb78094.tar.bz2
samba-f55c7614bd7360b484f15c2290ab88195bb78094.zip
Add aync POSIX hardlink and symlink and torture test for them.
Missing call cli_readlink() is next. Jeremy.
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 13dee6081d..d7c554efc0 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2725,7 +2725,7 @@ static int cmd_link(void)
return 1;
}
- if (!cli_unix_hardlink(targetcli, targetname, newname)) {
+ if (!NT_STATUS_IS_OK(cli_posix_hardlink(targetcli, targetname, newname))) {
d_printf("%s linking files (%s -> %s)\n", cli_errstr(targetcli), newname, oldname);
return 1;
}
@@ -2776,7 +2776,7 @@ static int cmd_symlink(void)
return 1;
}
- if (!cli_unix_symlink(targetcli, targetname, newname)) {
+ if (!NT_STATUS_IS_OK(cli_posix_symlink(targetcli, targetname, newname))) {
d_printf("%s symlinking files (%s -> %s)\n",
cli_errstr(targetcli), newname, targetname);
return 1;