scripts/gdb: Correct grammar in page_owner.py
PATCH 1/1 scripts/gdb: Correct grammar in page_owner.py
Replace the error message with a grammatically correct message that indicates the CONFIG_PAGE_OWNER option is not enabled.
Signed-off-by Florian Fainelli <[email protected]>
--- scripts/gdb/linux/page_owner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/gdb/linux/page_owner.py +1 -1
@@ -40,7 +40,7 @@ class DumpPageOwner(gdb.Command): def invoke(self, args, from_tty): if not constants.LX_CONFIG_PAGE_OWNER: - raise gdb.GdbError('CONFIG_PAGE_OWNER does not enable') + raise gdb.GdbError('CONFIG_PAGE_OWNER is not enabled') page_owner_inited = gdb.parse_and_eval('page_owner_inited') if page_owner_inited['key']['enabled']['counter'] != 0x1:
Signature · 1 line
2.43.0