1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix the build on OpenBSD: ENOTSUP is not always defined.

Michael
This commit is contained in:
Michael Adam 2008-02-25 17:05:21 +01:00
parent ad37b7b0ae
commit 2e4028162f

View File

@ -588,7 +588,11 @@ static bool xattr_tdb_init(int snum, struct db_context **p_db)
unbecome_root();
if (db == NULL) {
#if defined(ENOTSUP)
errno = ENOTSUP;
#else
errno = ENOSYS;
#endif
return false;
}