diff --git a/mozilla/xpcom/io/nsLocalFileOSX.cpp b/mozilla/xpcom/io/nsLocalFileOSX.cpp index c6054b02215..aa3411881d7 100644 --- a/mozilla/xpcom/io/nsLocalFileOSX.cpp +++ b/mozilla/xpcom/io/nsLocalFileOSX.cpp @@ -889,7 +889,7 @@ NS_IMETHODIMP nsLocalFile::IsHidden(PRBool *_retval) FSCatalogInfo catalogInfo; HFSUniStr255 leafName; - OSErr err = ::FSGetCatalogInfo(&fsRef, kFSCatInfoNodeFlags, &catalogInfo, + OSErr err = ::FSGetCatalogInfo(&fsRef, kFSCatInfoFinderInfo, &catalogInfo, &leafName, nsnull, nsnull); if (err != noErr) return MacErrorMapper(err);