From d95d32b6d72ec1edb348727e40fadeafcc7bf610 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sun, 1 Nov 2015 20:19:59 -0800 Subject: [PATCH] TMXR: Return reasonable error status when disconnecting a line without specifying the line --- sim_tmxr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_tmxr.c b/sim_tmxr.c index 428e32f1..745eab16 100644 --- a/sim_tmxr.c +++ b/sim_tmxr.c @@ -786,7 +786,7 @@ else if (uptr) { /* implied line form? */ } else if (cptr == NULL) /* named line form, parameter supplied? */ - code = SCPE_ARG; /* no, so report missing */ + code = SCPE_MISVAL; /* no, so report missing */ else { ln = get_uint (cptr, 10, mp->lines - 1, &code); /* get line number */