projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: g_hash_table_insert prior to glib 2.40 returns void
[babeltrace.git]
/
compat
/
compat_mman.c
diff --git
a/compat/compat_mman.c
b/compat/compat_mman.c
index bbca82cadbed9e39ba6bce70e3fa63805284fab2..6b0229e38ea4f65481f8a55d5204c2e21294e822 100644
(file)
--- a/
compat/compat_mman.c
+++ b/
compat/compat_mman.c
@@
-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. */
}
/* 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();
mmap_unlock();
This page took
0.023357 seconds
and
4
git commands to generate.