summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-06-20 03:27:37 +0000
committerMiles Bader <miles@gnu.org>1996-06-20 03:27:37 +0000
commit55d97fa1373b8c48e17adafbacec389225a6fefb (patch)
tree088598c7636e3d6349bad5a039a216786518ff26 /libdiskfs
parent43069c8da7d9478d749d9b54942fb05d5fd3b65b (diff)
(diskfs_S_fsys_set_options): Don't split arguments, just call
diskfs_set_options with what we got.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/fsys-options.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libdiskfs/fsys-options.c b/libdiskfs/fsys-options.c
index 565836ce..c69dd43d 100644
--- a/libdiskfs/fsys-options.c
+++ b/libdiskfs/fsys-options.c
@@ -72,13 +72,8 @@ diskfs_S_fsys_set_options (fsys_t fsys,
if (!err)
{
- int argc = argz_count (data, len);
- char **argv = alloca (sizeof (char *) * (argc + 1));
-
- argz_extract (data, len, argv);
-
rwlock_writer_lock (&diskfs_fsys_lock);
- err = diskfs_set_options (argc, argv);
+ err = diskfs_set_options (data, len);
rwlock_writer_unlock (&diskfs_fsys_lock);
}