From 912ac981a9946d3ad0e9ae183d593cb0b970c038 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 1 Dec 2008 08:09:12 +0000 Subject: [PATCH] Add position arg to Darwin getxattr git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8100 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/filed/xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 /* -- 2.39.5