projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: strnlen is not defined on Solaris 10
[lttng-tools.git]
/
src
/
common
/
trace-chunk.c
diff --git
a/src/common/trace-chunk.c
b/src/common/trace-chunk.c
index e853d7366ccc1115a7630b894a5bc9c7e53beb04..40e612800a5c8e6dd31442593d27e94eea81fbbc 100644
(file)
--- a/
src/common/trace-chunk.c
+++ b/
src/common/trace-chunk.c
@@
-410,7
+410,7
@@
bool is_valid_chunk_name(const char *name)
return false;
}
- len = strnlen(name, LTTNG_NAME_MAX);
+ len =
lttng_
strnlen(name, LTTNG_NAME_MAX);
if (len == 0 || len == LTTNG_NAME_MAX) {
return false;
}
This page took
0.023369 seconds
and
4
git commands to generate.