Fixes:
```
>>> image.remove_snap2('snap', 1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "rbd.pyx", line 3326, in rbd.Image.remove_snap2 (rbd.c:30069)
ValueError: unsupported format character 'l' (0x6c) at index 48
>>>
```
Signed-off-by: songweibin <song.weibin@zte.com.cn>
with nogil:
ret = rbd_snap_remove2(self.image, _name, _flags, prog_cb, NULL)
if ret != 0:
- raise make_ex(ret, 'error removing snapshot %s from %s with flags %llx' % (name, self.name, flags))
+ raise make_ex(ret, 'error removing snapshot %s from %s with flags %lx' % (name, self.name, flags))
def remove_snap_by_id(self, snap_id):
"""