Browse Source

Fix FUSE crash in xattr code on Linux introduced in 4d7b0f35

Marian Beermann 9 years ago
parent
commit
31bbdc3bee
1 changed files with 1 additions and 1 deletions
  1. 1 1
      borg/fuse.py

+ 1 - 1
borg/fuse.py

@@ -194,7 +194,7 @@ class FuseOperations(llfuse.Operations):
         try:
             return item.get(b'xattrs', {})[name]
         except KeyError:
-            raise llfuse.FUSEError(errno.ENOATTR) from None
+            raise llfuse.FUSEError(llfuse.ENOATTR) from None
 
     def _load_pending_archive(self, inode):
         # Check if this is an archive we need to load