From 771f8aef574e3ca812345bd832f883961fdd05ca Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 31 Jul 2019 09:39:12 +0200 Subject: [PATCH] unit-file: fix coverity issue Fixes coverity issue 1403820 --- src/shared/unit-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.47.3