API change for lttng_get_readeable_code
[lttng-tools.git] / lttng / lttng.c
index 4d81d2a1d4d9fe7914cd84bec9132207fed65f0c..e76136669436d3bf0f9fa5739d35f2bcbc40eba7 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <config.h>
 
 #include <lttng/lttng.h>
 
@@ -432,7 +433,7 @@ static int parse_args(int argc, char **argv)
                if (ret == -1) {
                        usage(stderr);
                } else {
-                       ERR("%s", lttng_get_readable_code(ret));
+                       ERR("%s", lttng_strerror(ret));
                }
                goto error;
        }
This page took 0.024016 seconds and 4 git commands to generate.