From: Mike Frysinger Date: Fri, 8 Aug 2014 09:40:37 +0000 (-0400) Subject: fix typo in chmod funcs X-Git-Tag: upstream/1.9.6^2~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8d4559dc1478796ad0d04d45371e9052eebe44dd;p=deb_libnfs.git fix typo in chmod funcs These were accidentally calling chown instead of chmod. Signed-off-by: Mike Frysinger --- diff --git a/lib/libnfs.c b/lib/libnfs.c index f87752c..222721c 100644 --- a/lib/libnfs.c +++ b/lib/libnfs.c @@ -3989,12 +3989,12 @@ int nfs_chmod_async_internal(struct nfs_context *nfs, const char *path, int no_f int nfs_chmod_async(struct nfs_context *nfs, const char *path, int mode, nfs_cb cb, void *private_data) { - return nfs_chown_async_internal(nfs, path, 0, mode, cb, private_data); + return nfs_chmod_async_internal(nfs, path, 0, mode, cb, private_data); } int nfs_lchmod_async(struct nfs_context *nfs, const char *path, int mode, nfs_cb cb, void *private_data) { - return nfs_chown_async_internal(nfs, path, 1, mode, cb, private_data); + return nfs_chmod_async_internal(nfs, path, 1, mode, cb, private_data); } /*