From 93e86f31f00250bd2c90905777435f39aee5db39 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 10 Mar 2022 17:07:11 -0800 Subject: [PATCH] PDP11: Fix Coverity identified issue in HELP CPU --- PDP11/pdp11_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PDP11/pdp11_cpu.c b/PDP11/pdp11_cpu.c index 88a40bf4..e7d5caa1 100644 --- a/PDP11/pdp11_cpu.c +++ b/PDP11/pdp11_cpu.c @@ -3675,7 +3675,7 @@ for (i = 0; i < MOD_MAX; i++) { fprintf (st, " %-6s %s %-7s %-3s %-3s %-3s %-3s %-3s %-3s %-3s\n", cpu->name, - (cpu->std & BUS_Q) ? "Q" : "U", + (cpu->std & BUS_U) ? "U" : "Q", (cpu->maxm == MEMSIZE64K) ? "64K" : ((cpu->maxm == MAXMEMSIZE) ? "4M" : ((cpu->maxm == UNIMEMSIZE) ? "256K" : "UNK")), _OPT(OPT_MMU), _OPT(OPT_UBM), _OPT(OPT_EIS), _OPT(OPT_FIS), _OPT(OPT_FPP), _OPT(OPT_CIS), _OPT(OPT_BVT));