Use rsize to match buffer size in avalon_get_results.