1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-29 03:50:45 +02:00

(fsp_to_string) [HAVE_F_FSTYPENAME_IN_STATFS]:

Avoid warning by casting result to `char *' to remove `const'.
This commit is contained in:
Jim Meyering
2000-06-29 08:30:03 +00:00
parent 69b3d52b2a
commit a1fd5e91ff
+1 -1
View File
@@ -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