From 3217e0438fd8ba602706eda8adbb23e74f2f54ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Mon, 18 Nov 2019 04:29:04 -0500 Subject: [PATCH] zipl: set reason not text for failed check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub-ID: #76 Signed-off-by: Dan Horák Signed-off-by: Stefan Haberland Signed-off-by: Jan Höppner --- zipl/src/scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipl/src/scan.c b/zipl/src/scan.c index 0ea37efa..0f01cac9 100644 --- a/zipl/src/scan.c +++ b/zipl/src/scan.c @@ -1603,7 +1603,7 @@ scan_check_bls(struct scan_token *scan) scan[i].content.keyword.value); rc = misc_check_readable_file(img_value); if (rc) { - error_text( + error_reason( "Image file '%s' is not accessible", scan[i].content.keyword.value); return rc;