summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-28 16:15:09 -0700
committerJeremy Allison <jra@samba.org>2009-05-28 16:15:09 -0700
commit9df85a93746d2de0c68c50d634a04e957e8b2c0d (patch)
tree24bb0a95929a74a5ea858fdbf050e2ab32888edc /source3/client
parent5c623e6c2e787cad6efde036161e8a2f816d5203 (diff)
downloadsamba-9df85a93746d2de0c68c50d634a04e957e8b2c0d.tar.gz
samba-9df85a93746d2de0c68c50d634a04e957e8b2c0d.tar.bz2
samba-9df85a93746d2de0c68c50d634a04e957e8b2c0d.zip
Make cli_posix_chown()/cli_posix_chmod() async.
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 7e98dea91c..0852652725 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2872,7 +2872,7 @@ static int cmd_chmod(void)
return 1;
}
- if (!cli_unix_chmod(targetcli, targetname, mode)) {
+ if (!NT_STATUS_IS_OK(cli_posix_chmod(targetcli, targetname, mode))) {
d_printf("%s chmod file %s 0%o\n",
cli_errstr(targetcli), src, (unsigned int)mode);
return 1;
@@ -3292,7 +3292,7 @@ static int cmd_chown(void)
return 1;
}
- if (!cli_unix_chown(targetcli, targetname, uid, gid)) {
+ if (!NT_STATUS_IS_OK(cli_posix_chown(targetcli, targetname, uid, gid))) {
d_printf("%s chown file %s uid=%d, gid=%d\n",
cli_errstr(targetcli), src, (int)uid, (int)gid);
return 1;