summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-05-27 07:13:28 +0000
committerTim Potter <tpot@samba.org>2003-05-27 07:13:28 +0000
commitd542a9cabbd37cffc7d2c3e1bca8fc17ea7124da (patch)
treec7ad49ac32d332cd9c77cb82f0eae78e37fbbcb8 /source3/smbd
parent6647e15cc7c08982038de9fd599ab36e29c0371b (diff)
downloadsamba-d542a9cabbd37cffc7d2c3e1bca8fc17ea7124da.tar.gz
Fix printf warnings in debug statments.
(This used to be commit d594e60f926e5618cd61585383bee315757ba73a)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/ntquotas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/ntquotas.c b/source3/smbd/ntquotas.c
index 86855608971..6a217a32587 100644
--- a/source3/smbd/ntquotas.c
+++ b/source3/smbd/ntquotas.c
@@ -178,12 +178,12 @@ int vfs_get_user_ntquota_list(files_struct *fsp, SMB_NTQUOTA_LIST **qt_list)
ZERO_STRUCT(tmp_qt);
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;
}
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;
}