[PATCH] scripts/gdb: Correct grammar in page_owner.py

Florian Fainelli posted 1 patch 6 days, 17 hours ago
scripts/gdb/linux/page_owner.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] scripts/gdb: Correct grammar in page_owner.py
Posted by Florian Fainelli 6 days, 17 hours ago
Replace the error message with a grammatically correct message that
indicates the CONFIG_PAGE_OWNER option is not enabled.

Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
---
 scripts/gdb/linux/page_owner.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gdb/linux/page_owner.py b/scripts/gdb/linux/page_owner.py
index 8e713a09cfe7..21e60d798578 100644
--- a/scripts/gdb/linux/page_owner.py
+++ b/scripts/gdb/linux/page_owner.py
@@ -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:
-- 
2.43.0