From: Kern Sibbald Date: Mon, 1 Dec 2008 08:09:12 +0000 (+0000) Subject: Add position arg to Darwin getxattr X-Git-Tag: Release-3.0.0~530 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=30fedb22be5b16ab63e1f01aa29aec28584f0c93;p=bacula%2Fbacula Add position arg to Darwin getxattr git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8100 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/filed/xattr.c b/bacula/src/filed/xattr.c index ac15235377..818773d1fd 100644 --- a/bacula/src/filed/xattr.c +++ b/bacula/src/filed/xattr.c @@ -82,7 +82,7 @@ bool parse_xattr_stream(JCR *jcr, int stream) */ #if defined(HAVE_DARWIN_OS) #define llistxattr(path, list, size) listxattr((path), (list), (size), XATTR_NOFOLLOW) - #define lgetxattr(path, name, value, size) getxattr((path), (name), (value), (size), XATTR_NOFOLLOW) + #define lgetxattr(path, name, value, size) getxattr((path), (name), (value), (size), 0, XATTR_NOFOLLOW) #define lsetxattr(path, name, value, size, flags) setxattr((path), (name), (value), (size), (flags), XATTR_NOFOLLOW) #else /*