diff options
author | Miles Bader <miles@gnu.org> | 1996-06-26 21:02:18 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-06-26 21:02:18 +0000 |
commit | 4b6119225ab69a040505eec0c9f3730eb826fc17 (patch) | |
tree | 92637fe2368ada767d902a11fb7aba01d37df450 /libnetfs | |
parent | 5fb0034a3160e8d52e80aaf2278a6eaa9805c2f6 (diff) |
(netfs_S_fsys_set_options): Don't convert options string into argv vector.
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/fsys-set-options.c | 7 |
1 files changed, 1 insertions, 6 deletions
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 |