esi: fix compile test warning info in FreeBSD

Signed-off-by: Yu Qing <zhuangyuan@taobao.com>
Signed-off-by: Zhao Yongming <ming.zym@gmail.com>