Changeset 842


Ignore:
Timestamp:
Feb 6, 2014, 2:33:02 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.6: adjust logging to get the real values in case of long long

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/lib/tdb/common/lock.c

    r841 r842  
    3434
    3535static 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)
    3737{
    3838        struct flock fl;
     
    5555                cmd = F_SETLK;
    5656
    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));
    5959
    6060        int rc = fcntl(tdb->fd, cmd, &fl);
     
    7979}
    8080
    81 static int fcntl_unlock(struct tdb_context *tdb, int rw, tdb_off_t off, size_t len)
     81static int fcntl_unlock(struct tdb_context *tdb, int rw, off_t off, off_t len)
    8282{
    8383        struct flock fl;
     
    151151
    152152#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",
    154154                 tdb->fd, off, rw, len));
    155155
Note: See TracChangeset for help on using the changeset viewer.