Browse Source

no null pointer to fprintf

pre-master-46
dwarning 8 years ago
committed by Holger Vogt
parent
commit
360efabf36
  1. 2
      src/frontend/spiceif.c

2
src/frontend/spiceif.c

@ -1301,7 +1301,7 @@ if_getstat(CKTcircuit *ckt, char *name)
if_parm->id, &parm, if_parm->id, &parm,
NULL) == -1) NULL) == -1)
{ {
fprintf(cp_err, "if_getstat: Internal Error: can't get %s\n", name);
fprintf(cp_err, "if_getstat: Internal Error: can't get a name\n");
return (NULL); return (NULL);
} }

Loading…
Cancel
Save