diff options
author | Tim Potter <tpot@samba.org> | 2003-07-24 23:46:27 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-07-24 23:46:27 +0000 |
commit | 77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2 (patch) | |
tree | 868eab178760cb8f28489cde34e1328b3f9dfbca /source3/smbd | |
parent | 60097e0d8d3db07eecf1773d74f8376ea4059b05 (diff) | |
download | samba-77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2.tar.gz samba-77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2.tar.bz2 samba-77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2.zip |
More printf fixes - size_t is long on some architectures.
(This used to be commit ba4d334b822248d8ab929c9568533431603d967e)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/close.c | 2 | ||||
-rw-r--r-- | source3/smbd/sesssetup.c | 2 | ||||
-rw-r--r-- | source3/smbd/utmp.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/close.c b/source3/smbd/close.c index 1be13270ba..c2db901ea7 100644 --- a/source3/smbd/close.c +++ b/source3/smbd/close.c @@ -163,7 +163,7 @@ static int close_normal_file(files_struct *fsp, BOOL normal_close) share_entry_count = del_share_mode(fsp, &share_entry); - DEBUG(10,("close_normal_file: share_entry_count = %d for file %s\n", + DEBUG(10,("close_normal_file: share_entry_count = %l for file %s\n", share_entry_count, fsp->fsp_name )); /* diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 689059a3ca..8e02f65951 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -375,7 +375,7 @@ static int reply_spnego_negotiate(connection_struct *conn, } free(OIDs[i]); } - DEBUG(3,("Got secblob of size %d\n", secblob.length)); + DEBUG(3,("Got secblob of size %l\n", secblob.length)); #ifdef HAVE_KRB5 if (got_kerberos && (SEC_ADS == lp_security())) { diff --git a/source3/smbd/utmp.c b/source3/smbd/utmp.c index 9833a11f2d..aaf081a21e 100644 --- a/source3/smbd/utmp.c +++ b/source3/smbd/utmp.c @@ -491,7 +491,7 @@ static BOOL sys_utmp_fill(struct utmp *u, * If size limit proves troublesome, then perhaps use "ut_id_encode()". */ if (strlen(id_str) > sizeof(u->ut_line)) { - DEBUG(1,("id_str [%s] is too long for %d char utmp field\n", + DEBUG(1,("id_str [%s] is too long for %l char utmp field\n", id_str, sizeof(u->ut_line))); return False; } |