Add missing \n when generating pkg.conf

Reported by:	beat
Approved by:	des (mentor)
MFC after:	1 day
This commit is contained in:
Baptiste Daroussin 2012-05-21 15:45:18 +00:00
parent 9d569918e6
commit 514ead92ea

View File

@ -371,7 +371,7 @@ bootstrap_pkg(void)
config = fopen(conf, "w+"); config = fopen(conf, "w+");
if (config == NULL) if (config == NULL)
goto cleanup; goto cleanup;
fprintf(config, "packagesite: %s", url); fprintf(config, "packagesite: %s\n", url);
fclose(config); fclose(config);
} }