mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
jlink_spi.c: Correct some log messages
Fix a few typos and a copy-paste error in log messages. Change-Id: Ic69503f60a59aa0f4b991eaa2a7be40a7d9c1301 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/52412 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Miklós Márton <martonmiklosqdev@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:
parent
1b13f25ef2
commit
1ce155d5d5
@ -134,7 +134,7 @@ static int jlink_spi_send_command(const struct flashctx *flash, unsigned int wri
|
||||
ret = jaylink_jtag_io(jaylink_devh, buffer, buffer, buffer, length * 8, JAYLINK_JTAG_VERSION_2);
|
||||
|
||||
if (ret != JAYLINK_OK) {
|
||||
msg_perr("jaylink_jag_io() failed: %s.\n", jaylink_strerror(ret));
|
||||
msg_perr("jaylink_jtag_io() failed: %s.\n", jaylink_strerror(ret));
|
||||
free(buffer);
|
||||
return SPI_PROGRAMMER_ERROR;
|
||||
}
|
||||
@ -210,7 +210,7 @@ int jlink_spi_init(void)
|
||||
|
||||
if (arg) {
|
||||
if (!strlen(arg)) {
|
||||
msg_perr("Emptpy serial number specified.\n");
|
||||
msg_perr("Empty serial number specified.\n");
|
||||
free(arg);
|
||||
return 1;
|
||||
}
|
||||
@ -266,7 +266,7 @@ int jlink_spi_init(void)
|
||||
ret = jaylink_discovery_scan(jaylink_ctx, 0);
|
||||
|
||||
if (ret != JAYLINK_OK) {
|
||||
msg_perr("jaylink_discover_scan() failed: %s.\n", jaylink_strerror(ret));
|
||||
msg_perr("jaylink_discovery_scan() failed: %s.\n", jaylink_strerror(ret));
|
||||
goto init_err;
|
||||
}
|
||||
|
||||
@ -361,7 +361,7 @@ int jlink_spi_init(void)
|
||||
ret = jaylink_get_extended_caps(jaylink_devh, caps);
|
||||
|
||||
if (ret != JAYLINK_OK) {
|
||||
msg_perr("jaylink_get_available_interfaces() failed: %s.\n", jaylink_strerror(ret));
|
||||
msg_perr("jaylink_get_extended_caps() failed: %s.\n", jaylink_strerror(ret));
|
||||
goto init_err;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user