svn commit: samba r14916 - in
branches/SAMBA_4_0/source/lib/tdb/common: .
tridge at samba.org
tridge at samba.org
Wed Apr 5 03:51:43 GMT 2006
Author: tridge
Date: 2006-04-05 03:51:43 +0000 (Wed, 05 Apr 2006)
New Revision: 14916
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14916
Log:
print errno so I can work out why OpenBSD is failing the test for tdb
in the build farm. msync() is failing.
Modified:
branches/SAMBA_4_0/source/lib/tdb/common/transaction.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/tdb/common/transaction.c
===================================================================
--- branches/SAMBA_4_0/source/lib/tdb/common/transaction.c 2006-04-04 22:15:27 UTC (rev 14915)
+++ branches/SAMBA_4_0/source/lib/tdb/common/transaction.c 2006-04-05 03:51:43 UTC (rev 14916)
@@ -544,7 +544,8 @@
if (msync(moffset + (char *)tdb->map_ptr,
length + (offset - moffset), MS_SYNC) != 0) {
tdb->ecode = TDB_ERR_IO;
- TDB_LOG((tdb, 0, "tdb_transaction: msync failed\n"));
+ TDB_LOG((tdb, 0, "tdb_transaction: msync failed - %s\n",
+ strerror(errno)));
return -1;
}
}
More information about the samba-cvs
mailing list