Browse Source

add missing newlines in error output

master
Olaf Rempel 5 years ago
parent
commit
50574d6f16
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mpm.c

+ 2
- 2
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;
}


Loading…
Cancel
Save