From: Kern Sibbald Date: Mon, 1 Dec 2008 08:09:12 +0000 (+0000) Subject: Add position arg to Darwin getxattr X-Git-Tag: Release-7.0.0~3682 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=912ac981a9946d3ad0e9ae183d593cb0b970c038;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 /*