tap-driver.sh: flush stdout after each test result
[babeltrace.git] / compat / compat_mman.c
index bbca82cadbed9e39ba6bce70e3fa63805284fab2..bef80d481ecb952ca794b991e1f15669588bf215 100644 (file)
@@ -45,7 +45,7 @@ int bt_mman_dummy_symbol;
 #include <pthread.h>
 #include <stdlib.h>
 #include <windows.h>
-#include <babeltrace/compat/mman-internal.h>
+#include <babeltrace2/compat/mman-internal.h>
 
 struct mmap_mapping {
        /* The duplicated handle. */
@@ -244,10 +244,7 @@ void *bt_mmap(void *addr, size_t length, int prot, int flags, int fd,
        }
 
        /* Add the new mapping to the hashtable. */
-       if (!g_hash_table_insert(mmap_mappings, mapping_addr, mapping)) {
-               BT_LOGF_STR("Failed to insert mapping in the hashtable.");
-               abort();
-       }
+       g_hash_table_insert(mmap_mappings, mapping_addr, mapping);
 
        mmap_unlock();
 
This page took 0.024083 seconds and 4 git commands to generate.