Index: common/nation.c =================================================================== --- common/nation.c (revision 11793) +++ common/nation.c (working copy) @@ -351,14 +351,14 @@ struct nation_group *group; if (strlen(name) >= ARRAY_SIZE(group->name)) { - freelog(LOG_FATAL, "Too-long group name %s.", group->name); + freelog(LOG_FATAL, "Too-long group name %s.", name); exit(EXIT_FAILURE); } for (i = 0; i < num_nation_groups; i++) { if (mystrcasecmp(Qn_(name), Qn_(nation_groups[i].name)) == 0) { freelog(LOG_FATAL, "Duplicate group name %s.", - Qn_(group->name)); + Qn_(name)); exit(EXIT_FAILURE); } }