[Bug 432598] New: multipath-tools-0.4.7-127: ordered comparison of pointer with integer zero
https://bugzilla.novell.com/show_bug.cgi?id=432598 Summary: multipath-tools-0.4.7-127: ordered comparison of pointer with integer zero Product: openSUSE 11.1 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just tried to compile Suse Linux package multipath-tools-0.4.7-127 and the compiler said discovery.c:243: warning: ordered comparison of pointer with integer zero The source code is if ((fd = fopen("/proc/partitions", "r")) < 0) { Suggest replace with if ((fd = fopen("/proc/partitions", "r")) == 0) { -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=432598
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=432598
User hare@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=432598#c1
Hannes Reinecke
participants (1)
-
bugzilla_noreply@novell.com