small fix for virsh_snapshot.

Signed-off-by: yangdongsheng <yangds.fnst@cn.fujitsu.com>