make error message consistent with name of executable

This commit is contained in:
Axel Kohlmeyer
2023-01-12 12:09:59 -05:00
parent 8d42212f38
commit a68fca43e5
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ int main(int narg, char **arg)
MPI_Init(&narg,&arg);
if (narg != 4) {
printf("Syntax: simpleC P in.lammps /path/to/liblammps.so\n");
printf("Syntax: %s P in.lammps /path/to/liblammps.so\n", arg[0]);
exit(1);
}