[PATCH] lib: framework: fix the unclear error message of the results log

Ivan Hu ivan.hu at canonical.com
Fri Nov 17 09:15:58 UTC 2023


BugLink: https://bugs.launchpad.net/ubuntu/+source/fwts/+bug/2037502

Signed-off-by: Ivan Hu <ivan.hu at canonical.com>
---
 src/lib/src/fwts_framework.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/src/fwts_framework.c b/src/lib/src/fwts_framework.c
index 3aab605e..e10f8764 100644
--- a/src/lib/src/fwts_framework.c
+++ b/src/lib/src/fwts_framework.c
@@ -1564,7 +1564,7 @@ int fwts_framework_args(const int argc, char **argv)
 			(fw->flags & FWTS_FLAG_FORCE_CLEAN) ? "w" : "a",
 			fw->log_type)) == NULL) {
 		ret = FWTS_ERROR;
-		fprintf(stderr, "%s: Cannot open results log '%s'"
+		fprintf(stderr, "%s: Cannot open results log '%s.log'"
 			" (you may need to remove it to set proper"
 			" permissions).\n",
 			argv[0], fw->results_logname);
-- 
2.34.1




More information about the fwts-devel mailing list