add missing newlines in error output

This commit is contained in:
Olaf Rempel 2014-12-26 11:54:45 +01:00
parent f7e7ee0a1a
commit 50574d6f16

4
mpm.c
View File

@ -515,14 +515,14 @@ static int mpm_open(struct multiboot *mboot)
char version[16];
if (mpm_read_version(mpm, (uint8_t *)version, sizeof(version))) {
fprintf(stderr, "failed to get bootloader version");
fprintf(stderr, "failed to get bootloader version\n");
mpm_close(mboot);
return -1;
}
uint8_t chipinfo[8];
if (mpm_read_chipinfo(mpm, chipinfo, sizeof(chipinfo))) {
fprintf(stderr, "failed to get bootloader version");
fprintf(stderr, "failed to get bootloader version\n");
mpm_close(mboot);
return -1;
}