if (async && errno == EAGAIN) {
return FALSE;
}
- msg_warn ("lock on file failed: %s", strerror (errno));
+
+ if (errno != ENOTSUP) {
+ msg_warn ("lock on file failed: %s", strerror (errno));
+ }
+
return FALSE;
}
if (async && errno == EAGAIN) {
return FALSE;
}
- msg_warn ("lock on file failed: %s", strerror (errno));
+
+ if (errno != ENOTSUP) {
+ msg_warn ("unlock on file failed: %s", strerror (errno));
+ }
+
return FALSE;
}
if (async && (errno == EAGAIN || errno == EACCES)) {
return FALSE;
}
- msg_warn ("lock on file failed: %s", strerror (errno));
+ if (errno != ENOTSUP) {
+ msg_warn ("lock on file failed: %s", strerror (errno));
+ }
+
return FALSE;
}
if (async && (errno == EAGAIN || errno == EACCES)) {
return FALSE;
}
- msg_warn ("lock on file failed: %s", strerror (errno));
+
+ if (errno != ENOTSUP) {
+ msg_warn ("unlock on file failed: %s", strerror (errno));
+ }
return FALSE;
}