1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r24743: Fix build warning.

Guenther
(This used to be commit 579fb55b75)
This commit is contained in:
Günther Deschner 2007-08-28 15:07:13 +00:00 committed by Gerald (Jerry) Carter
parent 84bce05e71
commit 068d95cde1

View File

@ -94,7 +94,7 @@ static int tdb_write(struct tdb_context *tdb, tdb_off_t off,
/* try once more */
TDB_LOG((tdb, TDB_DEBUG_FATAL, "tdb_write: wrote only "
"%d of %d bytes at %d, trying once more\n",
written, len, off));
(int)written, len, off));
errno = ENOSPC;
written = pwrite(tdb->fd, (void *)((char *)buf+written),
len-written,