no null pointer to fprintf

This commit is contained in:
dwarning 2018-10-25 10:51:55 +02:00 committed by Holger Vogt
parent ae698c208a
commit 360efabf36
1 changed files with 1 additions and 1 deletions

View File

@ -1301,7 +1301,7 @@ if_getstat(CKTcircuit *ckt, char *name)
if_parm->id, &parm,
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);
}