summaryrefslogtreecommitdiff
path: root/lib/mountlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mountlist.c')
-rw-r--r--lib/mountlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mountlist.c b/lib/mountlist.c
index 7d27a14a6..4784140a1 100644
--- a/lib/mountlist.c
+++ b/lib/mountlist.c
@@ -260,7 +260,7 @@ static char *
fsp_to_string (const struct statfs *fsp)
{
# if defined HAVE_F_FSTYPENAME_IN_STATFS
- return fsp->f_fstypename;
+ return (char *) (fsp->f_fstypename);
# else
return fstype_to_string (fsp->f_type);
# endif