Ignore:
Timestamp:
Mar 12, 2008, 9:08:18 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.28a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/tdb/common/io.c

    r71 r124  
    112112                        TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_write: wrote only "
    113113                                 "%d of %d bytes at %d, trying once more\n",
    114                                  written, len, off));
     114                                 (uint32_t)written, len, off));
    115115                        errno = ENOSPC;
    116116                        written = pwrite(tdb->fd, (void *)((char *)buf+written),
     
    300300                } else if (written == -1) {
    301301                        TDB_LOG((tdb, TDB_DEBUG_FATAL, "expand_file write of "
    302                                 "%d bytes failed (%s)\n", n, strerror(errno)));
     302                                "%d bytes failed (%s)\n", (uint32_t)n, strerror(errno)));
    303303                        return -1;
    304304                } else if (written != n) {
    305305                        TDB_LOG((tdb, TDB_DEBUG_WARNING, "expand_file: wrote "
    306                                 "only %d of %d bytes - retrying\n", written,n));
     306                                "only %d of %d bytes - retrying\n",
     307                                (uint32_t)written, (uint32_t)n));
    307308                }
    308309                addition -= written;
Note: See TracChangeset for help on using the changeset viewer.