projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: handle sysconf errors
[lttng-ust.git]
/
liblttng-ust
/
compat.h
diff --git
a/liblttng-ust/compat.h
b/liblttng-ust/compat.h
index 4d4a4368fa8bc7f716953821246007e20061c1b5..43b2223e43b84ad5c5dc373a8c327eb365fd32f4 100644
(file)
--- a/
liblttng-ust/compat.h
+++ b/
liblttng-ust/compat.h
@@
-56,7
+56,7
@@
void lttng_ust_getprocname(char *name)
if (!bsd_name)
name[0] = '\0';
else
-
mem
cpy(name, bsd_name, LTTNG_UST_PROCNAME_LEN - 1);
+
strn
cpy(name, bsd_name, LTTNG_UST_PROCNAME_LEN - 1);
}
#endif
This page took
0.024652 seconds
and
4
git commands to generate.