1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fix printf warnings in debug statments.

This commit is contained in:
Tim Potter 0001-01-01 00:00:00 +00:00
parent d6b8a8ab49
commit d594e60f92

View File

@ -178,12 +178,12 @@ int vfs_get_user_ntquota_list(files_struct *fsp, SMB_NTQUOTA_LIST **qt_list)
ZERO_STRUCT(tmp_qt); ZERO_STRUCT(tmp_qt);
if (allready_in_quota_list((*qt_list),usr->pw_uid)) { if (allready_in_quota_list((*qt_list),usr->pw_uid)) {
DEBUG(5,("record for uid[%d] allready in the list\n",usr->pw_uid)); DEBUG(5,("record for uid[%ld] allready in the list\n",(long)usr->pw_uid));
continue; continue;
} }
if (NT_STATUS_IS_ERR(uid_to_sid(&sid, usr->pw_uid))) { if (NT_STATUS_IS_ERR(uid_to_sid(&sid, usr->pw_uid))) {
DEBUG(0,("uid_to_sid failed for %d\n",usr->pw_uid)); DEBUG(0,("uid_to_sid failed for %ld\n",(long)usr->pw_uid));
continue; continue;
} }