From: Alexander Popov Date: Mon, 30 Jul 2018 20:06:05 +0000 (+0300) Subject: Minor fixes for the script output X-Git-Tag: v0.5.2~73 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=a28331e0845bc0e219dac410efa90e1ce7f1e6b6;p=kconfig-hardened-check.git Minor fixes for the script output --- diff --git a/kconfig-hardened-check.py b/kconfig-hardened-check.py index ac9ee3a..791a2f8 100755 --- a/kconfig-hardened-check.py +++ b/kconfig-hardened-check.py @@ -216,10 +216,10 @@ def print_checklist(): print('[+] Printing kernel hardening preferences...') print(' {:<39}|{:^13}|{:^10}|{:^20}'.format( 'option name', 'desired val', 'decision', 'reason')) - print(' ' + '=' * 88) + print(' ' + '=' * 86) for opt in checklist: print(' CONFIG_{:<32}|{:^13}|{:^10}|{:^20}'.format( - opt.name, opt.expected, opt.decision, opt.reason)) + opt.name, opt.expected, opt.decision, opt.reason)) print()