]> Savannah Git Hosting - gnulib.git/commit
mountlist: avoid hasmntopt const type warning on solaris
authorBen Walton <bdwalton@gmail.com>
Tue, 3 Jun 2014 22:01:14 +0000 (23:01 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 6 Jun 2014 01:15:32 +0000 (02:15 +0100)
commit502809019bd2ca3ce3d041d18c35ce9420eedb72
tree84dd21c41adf061dd6287a4aeff533e469d7913b
parentd55899fd2c5794ac85ecb14d5e2f646a89e4b4dd
mountlist: avoid hasmntopt const type warning on solaris

* lib/mountlist.c: Solaris defines the OPT param of hasmntopt()
with char * instead of const char *.  Passing the constant string
"ignore" generates a compiler warning.  For Solaris cast MNT_IGNORE
to avoid the warning.

Signed-off-by: Ben Walton <bdwalton@gmail.com>
ChangeLog
lib/mountlist.c