--- tme/machine/sun2/sun2-mainbus.c 2018/04/24 16:43:22 1.1.1.5 +++ tme/machine/sun2/sun2-mainbus.c 2018/04/24 16:45:20 1.1.1.6 @@ -1,4 +1,4 @@ -/* $Id: sun2-mainbus.c,v 1.1.1.5 2018/04/24 16:43:22 root Exp $ */ +/* $Id: sun2-mainbus.c,v 1.1.1.6 2018/04/24 16:45:20 root Exp $ */ /* machine/sun2/sun2-mainbus.c - implementation of Sun 2 emulation: */ @@ -34,7 +34,7 @@ */ #include -_TME_RCSID("$Id: sun2-mainbus.c,v 1.1.1.5 2018/04/24 16:43:22 root Exp $"); +_TME_RCSID("$Id: sun2-mainbus.c,v 1.1.1.6 2018/04/24 16:45:20 root Exp $"); /* includes: */ #include "sun2-impl.h" @@ -616,11 +616,11 @@ TME_ELEMENT_NEW_DECL(tme_machine_sun2) { /* try to read in the IDPROM: */ idprom_fp = fopen(idprom_filename, "r"); if (idprom_fp == NULL) { - tme_output_append_error(_output, idprom_filename); + tme_output_append_error(_output, "%s", idprom_filename); return (errno); } if (fread(idprom, sizeof(tme_uint8_t), sizeof(idprom), idprom_fp) != sizeof(idprom)) { - tme_output_append_error(_output, idprom_filename); + tme_output_append_error(_output, "%s", idprom_filename); fclose(idprom_fp); return (ENOEXEC); }