|
|
|
@ -70,7 +70,7 @@ NBJT2dump(GENmodel *inModel, CKTcircuit *ckt) |
|
|
|
anyOutput = 1; |
|
|
|
sprintf(fileName, "%s%s.%d.%s", output->OUTProotFile, prefix, |
|
|
|
*state_num, inst->NBJT2name); |
|
|
|
if ((fpState = fopen(fileName, "w")) == NULL) { |
|
|
|
if ((fpState = fopen(fileName, "wb")) == NULL) { |
|
|
|
perror(fileName); |
|
|
|
} else { |
|
|
|
NBJT2putHeader(fpState, ckt, inst); |
|
|
|
|