X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libringbuffer%2Fring_buffer_abi.c;h=3279ccd9ffc8b6e624aa564b722c8f32bfec5b01;hb=1d4981969313da002983ca979bd85c95493f7316;hp=fbf6df537f20de015467a5c416189b31710e0009;hpb=3d249a072c981fd9a5f0fcd3d4787beab64561e3;p=lttng-ust.git diff --git a/libringbuffer/ring_buffer_abi.c b/libringbuffer/ring_buffer_abi.c index fbf6df53..3279ccd9 100644 --- a/libringbuffer/ring_buffer_abi.c +++ b/libringbuffer/ring_buffer_abi.c @@ -241,7 +241,7 @@ long lib_ring_buffer_ioctl(struct file *filp, unsigned int cmd, unsigned long ar arg); } case RING_BUFFER_FLUSH: - lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE); + lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE, handle); return 0; default: return -ENOIOCTLCMD; @@ -354,7 +354,7 @@ long lib_ring_buffer_compat_ioctl(struct file *filp, unsigned int cmd, return put_ulong(read_offset, arg); } case RING_BUFFER_FLUSH: - lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE); + lib_ring_buffer_switch_slow(buf, SWITCH_ACTIVE, handle); return 0; default: return -ENOIOCTLCMD;