Whamcloud - gitweb
libblkid: Fix marginal C code in probe_lvm2()
authorTheodore Ts'o <tytso@mit.edu>
Tue, 17 Jun 2008 17:03:47 +0000 (13:03 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 17 Jun 2008 17:03:47 +0000 (13:03 -0400)
commitcc19b958602775ef48f347d16859ce6623a385da
tree8c42a41f62b2a705fd51afb84c5a78f81c3456cb
parent04310e3fecb57340affd0b2e09abb16b6ba52719
libblkid: Fix marginal C code in probe_lvm2()

Modern gcc accepted what was there previously, but it's clearly not
correct C code, and this may have been the explanation for why a user
trying to compile a recent version of e2fsprogs failed to do so on Red
Hat 7.3.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/blkid/probe.c