diff --git a/src/command.c b/src/command.c index 6a9489d92..8b0202e87 100644 --- a/src/command.c +++ b/src/command.c @@ -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: