diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-03-11 15:41:22 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-08-14 02:41:41 +0200 |
commit | 8085f163c50d998f3e30a6ddfc72c73d5dc57747 (patch) | |
tree | 36184a2129cd3ee2743b1815242ed7ab5c2ee0f7 /src/getty-generator | |
parent | sd-event: drop _likely_() (diff) | |
download | systemd-8085f163c50d998f3e30a6ddfc72c73d5dc57747.tar.xz systemd-8085f163c50d998f3e30a6ddfc72c73d5dc57747.zip |
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/getty-generator')
-rw-r--r-- | src/getty-generator/getty-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getty-generator/getty-generator.c b/src/getty-generator/getty-generator.c index c78a511f94..06ca9b9662 100644 --- a/src/getty-generator/getty-generator.c +++ b/src/getty-generator/getty-generator.c @@ -42,7 +42,7 @@ static int add_symlink(const char *fservice, const char *tservice) { assert(tservice); from = strappenda(SYSTEM_DATA_UNIT_PATH "/", fservice); - to = strappenda3(arg_dest, "/getty.target.wants/", tservice); + to = strappenda(arg_dest, "/getty.target.wants/", tservice); mkdir_parents_label(to, 0755); |