~firmware-testing-team/fwts/master

« back to all changes in this revision

Viewing changes to src/lib/src/fwts_framework.c

  • Committer: Ivan Hu
  • Date: 2023-11-20 01:48:35 UTC
  • Revision ID: git-v1:718693a4f220e249e2432bb1df851b1917e8a197
lib: framework: fix the unclear error message of the results log

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

Signed-off-by: Ivan Hu <ivan.hu@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1564
1564
                        (fw->flags & FWTS_FLAG_FORCE_CLEAN) ? "w" : "a",
1565
1565
                        fw->log_type)) == NULL) {
1566
1566
                ret = FWTS_ERROR;
1567
 
                fprintf(stderr, "%s: Cannot open results log '%s'"
 
1567
                fprintf(stderr, "%s: Cannot open results log '%s.log'"
1568
1568
                        " (you may need to remove it to set proper"
1569
1569
                        " permissions).\n",
1570
1570
                        argv[0], fw->results_logname);