standardize on flush buffer (no plural)
[lttng-ust.git] / libustctl / ustctl.c
index 51826c13fb0f2e31acd334dbb972499081a187b1..50357645dd18ca0153c3025360a1ad0c2c137e1a 100644 (file)
@@ -401,14 +401,14 @@ int ustctl_wait_quiescent(int sock)
        return 0;
 }
 
-int ustctl_flush_buffers(int sock, struct object_data *channel_data)
+int ustctl_flush_buffer(int sock, struct object_data *channel_data)
 {
        struct ustcomm_ust_msg lum;
        struct ustcomm_ust_reply lur;
 
        memset(&lum, 0, sizeof(lum));
        lum.handle = channel_data->handle;
-       lum.cmd = LTTNG_UST_FLUSH_BUFFERS;
+       lum.cmd = LTTNG_UST_FLUSH_BUFFER;
        return ustcomm_send_app_cmd(sock, &lum, &lur);
 }
 
This page took 0.02405 seconds and 4 git commands to generate.