|
Bugzilla – Full Text Bug Listing |
| Summary: | nfs-server-2.2beta51-216: printf problem + local variable used before set | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | David Binderman <dcb314> |
| Component: | Basesystem | Assignee: | Petr Ostadal <postadal> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SuSE Linux 10.1 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
fixed and submited for STABLE |
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.