Bugzilla – Bug 151541
nfs-server-2.2beta51-216: printf problem + local variable used before set
Last modified: 2006-02-20 16:42:21 UTC
I just tried to compile package nfs-server-2.2beta51-216 with the Intel C compiler. It said 1. fh.c(1064): warning #267: the format string requires additional arguments The source code is Dprintf(D_FHCACHE, "fh_find: psi=%lx (%u,%u) ... not found\n", h->ino, h->dev); Three % specifiers, only two trailing parameters. Suggest add another parameter. 2. mountd.c(282): warning #592: variable "addr" is used before its value is set The source code is Dprintf(L_WARNING, "Blocked attempt of %s to pathconf(%s)\n", inet_ntoa(addr), dir); Suggest initialise local variable "addr" before first use.
fixed and submited for STABLE