From 89f8aff2cfc3958655025a41dcefb838167d8e67 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Mon, 16 May 2016 20:04:10 -0700 Subject: [PATCH] TAPE: Fix potential compiler warning. --- sim_tape.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sim_tape.c b/sim_tape.c index 9d9139a2..6b6f2ced 100644 --- a/sim_tape.c +++ b/sim_tape.c @@ -364,8 +364,7 @@ if (ctx) { t_stat sim_tape_set_async (UNIT *uptr, int latency) { #if !defined(SIM_ASYNCH_IO) -char *msg = "Tape: can't operate asynchronously\r\n"; -sim_printf ("%s", msg); +sim_printf ("Tape: can't operate asynchronously\r\n"); return SCPE_NOFNC; #else struct tape_context *ctx = (struct tape_context *)uptr->tape_ctx;