From 55d97fa1373b8c48e17adafbacec389225a6fefb Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 20 Jun 1996 03:27:37 +0000 Subject: (diskfs_S_fsys_set_options): Don't split arguments, just call diskfs_set_options with what we got. --- libdiskfs/fsys-options.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libdiskfs') 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); } -- cgit v1.2.3