SCP: Word order in "set def" error

This commit is contained in:
Tony Lawrence 2022-11-23 16:14:30 -05:00 committed by Paul Koning
parent 3364fe6f19
commit 57837528ae

2
scp.c
View file

@ -7302,7 +7302,7 @@ gbuf[sizeof(gbuf)-1] = '\0';
strlcpy (gbuf, cptr, sizeof(gbuf));
sim_trim_endspc(gbuf);
if (sim_chdir(gbuf) != 0)
return sim_messagef(SCPE_IOERR, "Unable to directory change to: %s\n", gbuf);
return sim_messagef(SCPE_IOERR, "Unable to change directory to: %s\n", gbuf);
return SCPE_OK;
}