projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: time constants already defined on macOS
[lttng-tools.git]
/
src
/
common
/
trace-chunk.c
diff --git
a/src/common/trace-chunk.c
b/src/common/trace-chunk.c
index 40e612800a5c8e6dd31442593d27e94eea81fbbc..fe244ac36594ebbcec7c81f8b9b331d9540f7a59 100644
(file)
--- a/
src/common/trace-chunk.c
+++ b/
src/common/trace-chunk.c
@@
-656,7
+656,7
@@
int add_top_level_directory_unique(struct lttng_trace_chunk *chunk,
}
if (!found) {
- char *copy = strndup(new_path, new_path_top_level_len);
+ char *copy =
lttng_
strndup(new_path, new_path_top_level_len);
DBG("Adding new top-level directory \"%s\" to trace chunk \"%s\"",
new_path, chunk->name ? : "(unnamed)");
This page took
0.02601 seconds
and
5
git commands to generate.