fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

pri: Better error messages

+3
+1
src/utils/pri/decode.c
··· 372 372 fct = pri_decode_psi_mfm_cb; 373 373 } 374 374 else { 375 + fprintf (stderr, "%s: unknown decode type (%s)\n", arg0, type); 375 376 return (1); 376 377 } 377 378
+2
src/utils/pri/encode.c
··· 140 140 } 141 141 142 142 if ((simg = psi_load (fname, PSI_FORMAT_NONE)) == NULL) { 143 + fprintf (stderr, "%s: loading failed (%s)\n", arg0, fname); 143 144 return (1); 144 145 } 145 146 ··· 176 177 dimg = pri_encode_mfm (simg, &par_enc_mfm); 177 178 } 178 179 else { 180 + fprintf (stderr, "%s: unknown encode type (%s)\n", arg0, type); 179 181 dimg = NULL; 180 182 } 181 183