Port: Add Solaris paths compat
[lttng-tools.git] / src / common / consumer.c
index c8628e8767ba1c6ee263f0f0d44f2b4fc6160748..9909fc13ce05cb32104c5d379f9f05fb150831f5 100644 (file)
@@ -17,7 +17,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <assert.h>
 #include <poll.h>
@@ -2356,7 +2355,7 @@ restart:
                                consumer_del_metadata_stream(stream, metadata_ht);
                        } else {
                                ERR("Unexpected poll events %u for sock %d", revents, pollfd);
-                               rcu_read_unlock;
+                               rcu_read_unlock();
                                goto end;
                        }
                        /* Release RCU lock for the stream looked up */
This page took 0.023673 seconds and 4 git commands to generate.