uml290mode: fix log message
This commit is contained in:
@@ -406,13 +406,13 @@ qcdm_set_mode (const char *port, u_int8_t mode)
|
|||||||
|
|
||||||
/* Send the command */
|
/* Send the command */
|
||||||
if (!qcdm_send (fd, buf, len)) {
|
if (!qcdm_send (fd, buf, len)) {
|
||||||
fprintf (stderr, "E: failed to send QCDM HDR pref command\n");
|
fprintf (stderr, "E: failed to send QCDM Control command\n");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
reply_len = qcdm_wait_reply (fd, buf, sizeof (buf));
|
reply_len = qcdm_wait_reply (fd, buf, sizeof (buf));
|
||||||
if (!reply_len) {
|
if (!reply_len) {
|
||||||
fprintf (stderr, "E: failed to receive HDR pref command reply\n");
|
fprintf (stderr, "E: failed to receive Control command reply\n");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -420,7 +420,7 @@ qcdm_set_mode (const char *port, u_int8_t mode)
|
|||||||
err = QCDM_SUCCESS;
|
err = QCDM_SUCCESS;
|
||||||
result = qcdm_cmd_control_result (buf, reply_len, &err);
|
result = qcdm_cmd_control_result (buf, reply_len, &err);
|
||||||
if (!result) {
|
if (!result) {
|
||||||
fprintf (stderr, "E: failed to parse HDR pref command reply: %d\n", err);
|
fprintf (stderr, "E: failed to parse Control command reply: %d\n", err);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user