fix incorrect fprintf() usage

This commit is contained in:
rlar 2013-10-01 21:47:25 +02:00
parent 8da34ab7c6
commit 1156164056
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ static int EVTcheck_nodes(
event_node->name,
err_collide);
fprintf(stdout,errMsg);
fprintf(stdout, "%s", errMsg);
return(E_PRIVATE);
}

View File

@ -224,7 +224,7 @@ char *MIFgetMod(
sprintf(temp, "MIF: unrecognized parameter (%s) - ignored\n", parm);
fprintf(stdout,temp);
fprintf(stdout, "%s", temp);
err = TMALLOC(char, 2 * strlen(temp) + 2);// K.A. added 5 March 2000
*err = '\0';// K.A. added 5 March 2000