git.samba.org
/
tprouty
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More printf portability fixes. Got caught out by some gcc'isms last
[tprouty/samba.git]
/
source
/
smbd
/
utmp.c
diff --git
a/source/smbd/utmp.c
b/source/smbd/utmp.c
index aaf081a21e8612d0069379f76f95bf54f50efb48..6ff2f586bae46feff795a987b858173300004da6 100644
(file)
--- a/
source/smbd/utmp.c
+++ b/
source/smbd/utmp.c
@@
-491,8
+491,8
@@
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)) {
* 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 %l char utmp field\n",
- id_str, sizeof(u->ut_line)));
+ DEBUG(1,("id_str [%s] is too long for %l
u
char utmp field\n",
+ id_str,
(unsigned long)
sizeof(u->ut_line)));
return False;
}
utmp_strcpy(u->ut_line, id_str, sizeof(u->ut_line));
return False;
}
utmp_strcpy(u->ut_line, id_str, sizeof(u->ut_line));