use fputs() instead of fprintf() to get past "hardened" gcc settings on fedora rpm builds

This commit is contained in:
Axel Kohlmeyer
2016-06-03 11:59:01 -04:00
parent 8a77c43ce1
commit d6bbf15efd

View File

@ -34,8 +34,8 @@ FixDeprecated::FixDeprecated(LAMMPS *lmp, int narg, char **arg) :
" dim, origin, delta, region, bound, discard, units\n\n";
if (comm->me == 0) {
if (screen) fprintf(screen,message);
if (logfile) fprintf(logfile,message);
if (screen) fputs(message,screen);
if (logfile) fputs(message,logfile);
}
}
error->all(FLERR,"This fix command has been removed from LAMMPS");