From 0c9d55d404f73ecd47987cc84eadd791b6345493 Mon Sep 17 00:00:00 2001 From: Wido den Hollander Date: Wed, 17 Dec 2014 14:01:44 +0100 Subject: [PATCH] pybind/cephfs: Fix setxattr function. Pass value as character pointer This passes the value of the xattr correctly and makes it work. --- src/pybind/cephfs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/cephfs.py b/src/pybind/cephfs.py index ece2c67af6f..574846fdc01 100644 --- a/src/pybind/cephfs.py +++ b/src/pybind/cephfs.py @@ -333,7 +333,7 @@ class LibCephFS(object): self.cluster, c_char_p(path), c_char_p(name), - c_void_p(value), + c_char_p(value), c_size_t(len(value)), c_int(flags)) if ret < 0: -- 2.47.3