Skip to contentSkip to conversation

scripts/gdb: Correct grammar in page_owner.py

PATCH New Florian Fainelli 1 participant 1 message Jul 22 GDB kernel debugging helper scripts

lore
Share & tools
lore
#0 lore raw

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.

---
 scripts/gdb/linux/page_owner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/gdb/linux/page_owner.py +1 -1
index 8e713a09cfe7..21e60d798578 100644
@@ -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