summaryrefslogtreecommitdiff
path: root/src/df.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/df.c')
-rw-r--r--src/df.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/df.c b/src/df.c
index fdeb14c8c..eb8a01b35 100644
--- a/src/df.c
+++ b/src/df.c
@@ -681,7 +681,7 @@ add_fs_type (const char *fstype)
{
struct fs_type_list *fsp;
- fsp = (struct fs_type_list *) xmalloc (sizeof (struct fs_type_list));
+ fsp = xmalloc (sizeof (struct fs_type_list));
fsp->fs_name = (char *) fstype;
fsp->fs_next = fs_select_list;
fs_select_list = fsp;
@@ -694,7 +694,7 @@ add_excluded_fs_type (const char *fstype)
{
struct fs_type_list *fsp;
- fsp = (struct fs_type_list *) xmalloc (sizeof (struct fs_type_list));
+ fsp = xmalloc (sizeof (struct fs_type_list));
fsp->fs_name = (char *) fstype;
fsp->fs_next = fs_exclude_list;
fs_exclude_list = fsp;