command: format strerror() with "%s"
We shouldn't pass strerror() where a format string is expected.
This commit is contained in:
parent
a493aafe02
commit
d0779e71ab
|
@ -205,7 +205,7 @@ print_playlist_result(struct client *client,
|
|||
return COMMAND_RETURN_OK;
|
||||
|
||||
case PLAYLIST_RESULT_ERRNO:
|
||||
command_error(client, ACK_ERROR_SYSTEM, strerror(errno));
|
||||
command_error(client, ACK_ERROR_SYSTEM, "%s", strerror(errno));
|
||||
return COMMAND_RETURN_ERROR;
|
||||
|
||||
case PLAYLIST_RESULT_DENIED:
|
||||
|
|
Loading…
Reference in New Issue