diff options
author | Daniel Lockyer <thisisdaniellockyer@gmail.com> | 2017-11-24 11:37:08 +0100 |
---|---|---|
committer | Daniel Lockyer <thisisdaniellockyer@gmail.com> | 2017-11-24 11:37:08 +0100 |
commit | 4600a396d5322dc7583f1af8d59576da7cf938fd (patch) | |
tree | a4462de098d2b963be7afc3cd061d097c537406c /src/import/pull-common.c | |
parent | Replace use of snprintf with xsprintf (diff) | |
download | systemd-4600a396d5322dc7583f1af8d59576da7cf938fd.tar.xz systemd-4600a396d5322dc7583f1af8d59576da7cf938fd.zip |
Remove NULL as last parameter to strjoin
Diffstat (limited to '')
-rw-r--r-- | src/import/pull-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/pull-common.c b/src/import/pull-common.c index cb2e3d9be2..c2a3a6aa8b 100644 --- a/src/import/pull-common.c +++ b/src/import/pull-common.c @@ -192,7 +192,7 @@ int pull_make_path(const char *url, const char *etag, const char *image_root, co } path = strjoin(image_root, "/", strempty(prefix), escaped_url, escaped_etag ? "." : "", - strempty(escaped_etag), strempty(suffix), NULL); + strempty(escaped_etag), strempty(suffix)); if (!path) return -ENOMEM; @@ -210,7 +210,7 @@ int pull_make_path(const char *url, const char *etag, const char *image_root, co return r; path = strjoin(image_root, "/", strempty(prefix), hash, escaped_etag ? "." : "", - strempty(escaped_etag), strempty(suffix), NULL); + strempty(escaped_etag), strempty(suffix)); if (!path) return -ENOMEM; } |