Nico Huber has submitted this change. ( https://review.coreboot.org/c/flashrom/+/52412 )
Change subject: jlink_spi.c: Correct some log messages ......................................................................
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 --- M jlink_spi.c 1 file changed, 4 insertions(+), 4 deletions(-)
Approvals: build bot (Jenkins): Verified Miklós Márton: Looks good to me, approved Edward O'Callaghan: Looks good to me, approved
diff --git a/jlink_spi.c b/jlink_spi.c index efd4782..3d86764 100644 --- a/jlink_spi.c +++ b/jlink_spi.c @@ -134,7 +134,7 @@ 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 @@
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 @@ 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 @@ 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; } }