From c060e374a15b54ce7861896602961330f9aa58c6 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 11 Jan 2022 00:51:53 +0000 Subject: [PATCH] * src/filelock.c (lock_if_free): Fix Haiku positive errno check. --- src/filelock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filelock.c b/src/filelock.c index c3927f58fae..3555cfc2519 100644 --- a/src/filelock.c +++ b/src/filelock.c @@ -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 -- 2.39.5