Changeset 842
- Timestamp:
- Feb 6, 2014, 2:33:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/lib/tdb/common/lock.c
r841 r842 34 34 35 35 static int fcntl_lock(struct tdb_context *tdb, 36 int rw, tdb_off_t off, size_t len, bool waitflag)36 int rw, off_t off, off_t len, bool waitflag) 37 37 { 38 38 struct flock fl; … … 55 55 cmd = F_SETLK; 56 56 57 TDB_LOG((tdb, TDB_DEBUG_TRACE,"fcntl_lock in: (fd=%d) offset=% d rw_type=%d len=%d\n",58 tdb->fd, off, rw, len ));57 TDB_LOG((tdb, TDB_DEBUG_TRACE,"fcntl_lock in: (fd=%d) offset=%lld rw_type=%d len=%lld waitflag=%d\n", 58 tdb->fd, off, rw, len, waitflag)); 59 59 60 60 int rc = fcntl(tdb->fd, cmd, &fl); … … 79 79 } 80 80 81 static int fcntl_unlock(struct tdb_context *tdb, int rw, tdb_off_t off, size_t len)81 static int fcntl_unlock(struct tdb_context *tdb, int rw, off_t off, off_t len) 82 82 { 83 83 struct flock fl; … … 151 151 152 152 #ifdef __OS2__ 153 TDB_LOG((tdb, TDB_DEBUG_TRACE,"fcntl_unlock in: (fd=%d) offset=% d rw_type=%d len=%d\n",153 TDB_LOG((tdb, TDB_DEBUG_TRACE,"fcntl_unlock in: (fd=%d) offset=%lld rw_type=%d len=%lld\n", 154 154 tdb->fd, off, rw, len)); 155 155
Note:
See TracChangeset
for help on using the changeset viewer.