]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/filelock.c (lock_if_free): Fix Haiku positive errno check.
authorPo Lu <luangruo@yahoo.com>
Tue, 11 Jan 2022 00:51:53 +0000 (00:51 +0000)
committerPo Lu <luangruo@yahoo.com>
Tue, 11 Jan 2022 00:51:53 +0000 (00:51 +0000)
src/filelock.c

index c3927f58fae56e1a045c44916d85bc762355c79d..3555cfc2519a271c48c598273669b2e4dbf632a8 100644 (file)
@@ -617,7 +617,7 @@ lock_if_free (lock_info_type *clasher, char *lfname)
     }
 
 #if !defined HAIKU \
-  || defined BE_USE_POSITIVE_POSIX_ERRORS
+  || defined B_USE_POSITIVE_POSIX_ERRORS
   return err;
 #else
   /* On Haiku, POSIX errno values are negative by default, but this