summaryrefslogtreecommitdiff
path: root/sutils
diff options
context:
space:
mode:
Diffstat (limited to 'sutils')
-rw-r--r--sutils/fstab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sutils/fstab.c b/sutils/fstab.c
index 98b24ca8..4574d41d 100644
--- a/sutils/fstab.c
+++ b/sutils/fstab.c
@@ -842,7 +842,7 @@ fstab_argp_create (struct fstab_argp_params *params,
fstab_add_fs (check, fs, 0);
}
- fstab_free (fstab);
+ /* fstab_free (fstab); XXX */
}
else
{
@@ -869,7 +869,7 @@ fstab_argp_create (struct fstab_argp_params *params,
if (!strncasecmp (tn, "no", 2))
{
struct fstype *type;
- err = fstypes_get (types, tn, &type);
+ err = fstypes_get (types, &tn[2], &type);
if (err)
error (106, err, "fstypes_get");
free (type->program);
@@ -948,7 +948,7 @@ fstab_argp_create (struct fstab_argp_params *params,
error (107, err, "fstab_add_fs");
}
- fstab_free (fstab);
+ /* fstab_free (fstab); XXX */
}
}