diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-03-11 10:41:22 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-08-13 20:41:41 -0400 |
commit | 8085f163c50d998f3e30a6ddfc72c73d5dc57747 (patch) | |
tree | 36184a2129cd3ee2743b1815242ed7ab5c2ee0f7 /src/fstab-generator/fstab-generator.c | |
parent | d06441da04cd5102816858d8d1e4aa367c00156b (diff) |
util: allow strappenda to take any number of args
This makes strappenda3 redundant, so we remove its usage and
definition. Add a few tests along the way for sanity.
Diffstat (limited to 'src/fstab-generator/fstab-generator.c')
-rw-r--r-- | src/fstab-generator/fstab-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fstab-generator/fstab-generator.c b/src/fstab-generator/fstab-generator.c index 418e8b171d..2c38ab977c 100644 --- a/src/fstab-generator/fstab-generator.c +++ b/src/fstab-generator/fstab-generator.c @@ -432,7 +432,7 @@ static int add_root_mount(void) { else if (arg_root_rw >= 0 || (!mount_test_option(arg_root_options, "ro") && !mount_test_option(arg_root_options, "rw"))) - opts = strappenda3(arg_root_options, ",", arg_root_rw > 0 ? "rw" : "ro"); + opts = strappenda(arg_root_options, ",", arg_root_rw > 0 ? "rw" : "ro"); else opts = arg_root_options; |