Changed fprintf statements to fputs in common.c