aboutsummaryrefslogtreecommitdiff
path: root/serprog.c
diff options
context:
space:
mode:
Diffstat (limited to 'serprog.c')
-rw-r--r--serprog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serprog.c b/serprog.c
index 981798f..98aac83 100644
--- a/serprog.c
+++ b/serprog.c
@@ -232,7 +232,7 @@ static int sp_docommand(uint8_t command, uint32_t parmlen,
if (c == S_NAK)
return 1;
if (c != S_ACK) {
- msg_perr("Error: invalid response 0x%02X from device\n", c);
+ msg_perr("Error: invalid response 0x%02X from device (to command 0x%02X)\n", c, command);
return 1;
}
if (retlen) {