From 36da255e7c6a37b17492361d91001e23263c05c6 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 22 Jul 2022 10:56:44 -0600 Subject: [PATCH] Fix typo in windows-nat.c I noticed a typo in a printf in windows-nat.c. This fixes it. --- gdb/windows-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index b62d216a7d3..43a2c112db5 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -959,7 +959,7 @@ display_selector (HANDLE thread, DWORD sel) gdb_puts (")\n"); if ((info.HighWord.Bits.Type & 0x10) == 0) gdb_puts("System selector "); - gdb_printf ("Priviledge level = %ld. ", + gdb_printf ("Privilege level = %ld. ", (unsigned long) info.HighWord.Bits.Dpl); if (info.HighWord.Bits.Granularity) gdb_puts ("Page granular.\n"); -- 2.30.2