command: format strerror() with "%s"

We shouldn't pass strerror() where a format string is expected.
This commit is contained in:
Max Kellermann 2008-11-22 14:57:00 +01:00
parent a493aafe02
commit d0779e71ab
1 changed files with 1 additions and 1 deletions

View File

@ -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: