summaryrefslogtreecommitdiffstats
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-28 13:32:00 -0700
committerJeremy Allison <jra@samba.org>2009-05-28 13:32:00 -0700
commit656e86d5fa876131fc8e373f0c2100f4bef1cc26 (patch)
treeb8e8afc42f03e86430f6ad05371b0438379c288e /source3/client
parentfbca26923915a70031f561b198cfe2cc0d9c3aa6 (diff)
downloadsamba-656e86d5fa876131fc8e373f0c2100f4bef1cc26.tar.gz
samba-656e86d5fa876131fc8e373f0c2100f4bef1cc26.tar.xz
samba-656e86d5fa876131fc8e373f0c2100f4bef1cc26.zip
Make cli_posix_stat() 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 0e874ec171f..7e98dea91c0 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -3037,7 +3037,7 @@ static int cmd_getfacl(void)
return 1;
}
- if (!cli_unix_stat(targetcli, targetname, &sbuf)) {
+ if (!NT_STATUS_IS_OK(cli_posix_stat(targetcli, targetname, &sbuf))) {
d_printf("%s getfacl doing a stat on file %s\n",
cli_errstr(targetcli), src);
return 1;
@@ -3188,7 +3188,7 @@ static int cmd_stat(void)
return 1;
}
- if (!cli_unix_stat(targetcli, targetname, &sbuf)) {
+ if (!NT_STATUS_IS_OK(cli_posix_stat(targetcli, targetname, &sbuf))) {
d_printf("%s stat file %s\n",
cli_errstr(targetcli), src);
return 1;