Cleanup: standardise include path
[lttng-ust.git] / liblttng-ust-dl / lttng-ust-dl.c
index ce2ae0e7028036a0b6e61ed4520bbba9b341a384..5509597e0b293a46bbb7623d7b61235d09d74ee7 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#define _GNU_SOURCE
 #define _LGPL_SOURCE
 #include <limits.h>
 #include <stdio.h>
+#include <stdint.h>
 #include <sys/types.h>
 #include <unistd.h>
 
@@ -107,7 +107,7 @@ void lttng_ust_dl_dlopen(void *so_base, const char *so_name,
 
        elf = lttng_ust_elf_create(resolved_path);
        if (!elf) {
-               ERR("could not acces file %s", resolved_path);
+               ERR("could not access file %s", resolved_path);
                return;
        }
 
@@ -169,7 +169,7 @@ void lttng_ust_dl_dlmopen(void *so_base, Lmid_t nsid, const char *so_name,
 
        elf = lttng_ust_elf_create(resolved_path);
        if (!elf) {
-               ERR("could not acces file %s", resolved_path);
+               ERR("could not access file %s", resolved_path);
                return;
        }
 
This page took 0.023755 seconds and 4 git commands to generate.