Add missing end-of-line to htoprc file version mismatch warning

This commit is contained in:
Nathan Scott 2021-09-08 12:13:49 +10:00
parent ca06e68037
commit c9b58c7fbe
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ static bool Settings_read(Settings* this, const char* fileName, unsigned int ini
this->config_version = atoi(option[1]); this->config_version = atoi(option[1]);
if (this->config_version > CONFIG_READER_MIN_VERSION) { if (this->config_version > CONFIG_READER_MIN_VERSION) {
// the version of the config file on disk is newer than what we can read // the version of the config file on disk is newer than what we can read
fprintf(stderr, "WARNING: %s specifies configuration format version v%d, but this %s binary supports up to v%d.", fileName, this->config_version, PACKAGE, CONFIG_READER_MIN_VERSION); fprintf(stderr, "WARNING: %s specifies configuration format version v%d, but this %s binary supports up to v%d\n.", fileName, this->config_version, PACKAGE, CONFIG_READER_MIN_VERSION);
fprintf(stderr, " The configuration version will be downgraded to v%d when %s exits.\n", CONFIG_READER_MIN_VERSION, PACKAGE); fprintf(stderr, " The configuration version will be downgraded to v%d when %s exits.\n", CONFIG_READER_MIN_VERSION, PACKAGE);
String_freeArray(option); String_freeArray(option);
fclose(fd); fclose(fd);