From d12bc07d3ab31e079b19fae61aa4210e27c57987 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 15 Jan 2013 10:58:09 -0800 Subject: [PATCH] Fix clang compiler identified typos --- PDP11/pdp11_dz.c | 2 +- PDP11/pdp11_vh.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PDP11/pdp11_dz.c b/PDP11/pdp11_dz.c index 5b03867c..7b8c7da5 100644 --- a/PDP11/pdp11_dz.c +++ b/PDP11/pdp11_dz.c @@ -833,7 +833,7 @@ fprintf (st, "displays logging information for all %s lines.\n\n", dptr->name); fprintf (st, "Once the %s is attached and the simulator is running, the %s will listen for\n", devtype, devtype); fprintf (st, "connections on the specified port. It assumes that the incoming connections\n"); fprintf (st, "are Telnet connections. The connection remains open until disconnected by the\n"); -fprintf (st, "simulated program, the Telnet client, a SET %s DISCONNECT command, or a\n", uptr->next); +fprintf (st, "simulated program, the Telnet client, a SET %s DISCONNECT command, or a\n", dptr->name); fprintf (st, "DETACH %s command.\n\n", dptr->name); fprintf (st, "Other special %s commands:\n\n", dptr->name); fprintf (st, " sim> SHOW %s CONNECTIONS show current connections\n", dptr->name); diff --git a/PDP11/pdp11_vh.c b/PDP11/pdp11_vh.c index bfdb200f..33fa03d1 100644 --- a/PDP11/pdp11_vh.c +++ b/PDP11/pdp11_vh.c @@ -1508,7 +1508,7 @@ char *devtype = (UNIBUS) ? "DH11" : "DHQ11"; fprintf (st, "%s Terminal Multiplexer (%s)\n\n", devtype, dptr->name); fprintf (st, "The %s is an %d-line terminal multiplexer for %s systems. Up to %d %s's\n", devtype, VH_LINES, (UNIBUS) ? "Unibus" : "Qbus", VH_MUXES, devtype); fprintf (st, "are supported.\n\n"); -fprintf (st, "The %s is a programmable asynchronous terminal multiplexer. It has two\n"); +fprintf (st, "The %s is a programmable asynchronous terminal multiplexer. It has two\n", devtype); fprintf (st, "programming modes: DHV11 and DHU11. The register sets are compatible with\n"); fprintf (st, "these devices. For transmission, the %s can be used in either DMA or\n", devtype); fprintf (st, "programmed I/O mode. For reception, there is a 256-entry FIFO for received\n"); @@ -1531,7 +1531,7 @@ fprintf (st, "operating systems and diagnostics. You can change the behavior of fprintf (st, "controller as follows:\n\n"); fprintf (st, " sim> SET %sn NORMAL use normal DMA procedures\n", dptr->name); fprintf (st, " sim> SET %sn FASTDMA set DMA to initiate immediately\n\n", dptr->name); -fprintf (st, "The number of lines (and therefore the number of %s devices\n"); +fprintf (st, "The number of lines (and therefore the number of %s devices\n", devtype); fprintf (st, "simulated) can be changed with the command:\n\n"); fprintf (st, " sim> SET %s LINES=n set line count to n\n\n", dptr->name); fprintf (st, "The line count must be a multiple of %d, with a maximum of %d.\n\n", VH_LINES, VH_LINES*VH_MUXES);