summaryrefslogtreecommitdiff
path: root/source/smbd/utmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd/utmp.c')
-rw-r--r--source/smbd/utmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/utmp.c b/source/smbd/utmp.c
index 9833a11f2d0..aaf081a21e8 100644
--- a/source/smbd/utmp.c
+++ b/source/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;
}