From 4b6119225ab69a040505eec0c9f3730eb826fc17 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 26 Jun 1996 21:02:18 +0000 Subject: (netfs_S_fsys_set_options): Don't convert options string into argv vector. --- libnetfs/fsys-set-options.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libnetfs') diff --git a/libnetfs/fsys-set-options.c b/libnetfs/fsys-set-options.c index 465bbf32..8abd5a16 100644 --- a/libnetfs/fsys-set-options.c +++ b/libnetfs/fsys-set-options.c @@ -76,15 +76,10 @@ netfs_S_fsys_set_options (fsys_t fsys, if (!err) { - int argc = argz_count (data, data_len); - char **argv = alloca (sizeof (char *) * (argc + 1)); - - argz_extract (data, data_len, argv); - #if NOT_YET rwlock_writer_lock (&netfs_fsys_lock); #endif - err = netfs_set_options (argc, argv); + err = netfs_set_options (data, data_len); #if NOT_YET rwlock_writer_unlock (&netfs_fsys_lock); #endif -- cgit v1.2.3