summaryrefslogtreecommitdiff
path: root/source3/passdb/passdb.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-07-25 04:24:40 +0000
committerTim Potter <tpot@samba.org>2003-07-25 04:24:40 +0000
commit7d833de662b83f026b54a236588da27dd8899630 (patch)
treea4c1867432592d3732bbc2a366eb6ef7549c64bd /source3/passdb/passdb.c
parent5a9030546420e0bd82b946e779cdd5831ed3d73b (diff)
downloadsamba-7d833de662b83f026b54a236588da27dd8899630.tar.gz
samba-7d833de662b83f026b54a236588da27dd8899630.tar.bz2
samba-7d833de662b83f026b54a236588da27dd8899630.zip
More printf portability fixes. Got caught out by some gcc'isms last
time. )-: (This used to be commit 59dae1da66a5eb7e128263bd578f167d8746e9f0)
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 1abd431c7b..e440e064ef 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -1667,8 +1667,8 @@ uint32 init_buffer_from_sam (uint8 **buf, const SAM_ACCOUNT *sampass, BOOL size_
/* check to make sure we got it correct */
if (buflen != len) {
- DEBUG(0, ("init_buffer_from_sam: somthing odd is going on here: bufflen (%l) != len (%l) in tdb_pack operations!\n",
- buflen, len));
+ DEBUG(0, ("init_buffer_from_sam: somthing odd is going on here: bufflen (%lu) != len (%lu) in tdb_pack operations!\n",
+ (unsigned long)buflen, (unsigned long)len));
/* error */
SAFE_FREE (*buf);
return (-1);