]> xenbits.xensource.com Git - people/pauldu/xenbus.git/commitdiff
Fix typo in SharedInfoDebugCallback()
authorPaul Durrant <pdurrant@amazon.com>
Wed, 25 Nov 2020 19:55:46 +0000 (19:55 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Thu, 26 Nov 2020 13:13:30 +0000 (13:13 +0000)
A missing '%' in a format specifier means we don't get the correct information
for the per-vcpu selector masks in the debug output.

Signed-off-by: Paul Durrant <pdurrant@amazon.com>
src/xenbus/shared_info.c

index a95318cd0a7f0c56cd3bd3b4a088648a79eddcaa..aa97255cce953ec09a95e7f80945a1f86eecc694 100644 (file)
@@ -512,7 +512,7 @@ SharedInfoDebugCallback(
 
             XENBUS_DEBUG(Printf,
                          &Context->DebugInterface,
-                         "CPU %u:u: SELECTOR MASK: %p\n",
+                         "CPU %u:%u: SELECTOR MASK: %p\n",
                          ProcNumber.Group,
                          ProcNumber.Number,
                          (PVOID)Shared->vcpu_info[vcpu_id].evtchn_pending_sel);