From: Lennart Poettering Date: Wed, 31 Jul 2019 07:39:12 +0000 (+0200) Subject: unit-file: fix coverity issue X-Git-Tag: v243-rc2~73^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=771f8aef574e3ca812345bd832f883961fdd05ca;p=thirdparty%2Fsystemd.git unit-file: fix coverity issue Fixes coverity issue 1403820 --- diff --git a/src/shared/unit-file.c b/src/shared/unit-file.c index 8a09f3827f7..db73c9bd4b6 100644 --- a/src/shared/unit-file.c +++ b/src/shared/unit-file.c @@ -462,7 +462,7 @@ int unit_file_find_fragment( r = unit_ids_map_get(unit_ids_map, template, &fragment); if (r < 0 && !IN_SET(r, -ENOENT, -ENXIO)) - return log_debug_errno(r, "Cannot load template %s: %m", *t); + return log_debug_errno(r, "Cannot load template %s: %m", template); if (fragment) { /* Add any aliases of the original name to the set of names */