add missing newlines in error output
This commit is contained in:
parent
f7e7ee0a1a
commit
50574d6f16
4
mpm.c
4
mpm.c
@ -515,14 +515,14 @@ static int mpm_open(struct multiboot *mboot)
|
|||||||
|
|
||||||
char version[16];
|
char version[16];
|
||||||
if (mpm_read_version(mpm, (uint8_t *)version, sizeof(version))) {
|
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);
|
mpm_close(mboot);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t chipinfo[8];
|
uint8_t chipinfo[8];
|
||||||
if (mpm_read_chipinfo(mpm, chipinfo, sizeof(chipinfo))) {
|
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);
|
mpm_close(mboot);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user