summaryrefslogtreecommitdiff
path: root/source3/smbd/utmp.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-07-24 23:46:27 +0000
committerTim Potter <tpot@samba.org>2003-07-24 23:46:27 +0000
commit77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2 (patch)
tree868eab178760cb8f28489cde34e1328b3f9dfbca /source3/smbd/utmp.c
parent60097e0d8d3db07eecf1773d74f8376ea4059b05 (diff)
downloadsamba-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/utmp.c')
-rw-r--r--source3/smbd/utmp.c2
1 files changed, 1 insertions, 1 deletions
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;
}