added __attribute__ ((format (printf)

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1707 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-05-11 11:04:38 +00:00
parent c76c05eb3b
commit 327a4d2bd9
16 changed files with 82 additions and 31 deletions

View File

@@ -71,7 +71,10 @@ pop_dropcopy(POP *p, struct passwd *pwp)
setgid(pwp->pw_gid);
}
#ifdef DEBUG
if(p->debug)pop_log(p,POP_DEBUG,"uid = %d, gid = %d",getuid(),getgid());
if(p->debug)
pop_log(p, POP_DEBUG,"uid = %u, gid = %u",
(unsigned)getuid(),
(unsigned)getgid());
#endif /* DEBUG */
/* Open for append, this solves the crash recovery problem */