projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Remove unused line from liblttng-ust-fd makefile
[lttng-ust.git]
/
liblttng-ust
/
compat.h
diff --git
a/liblttng-ust/compat.h
b/liblttng-ust/compat.h
index de5e64775004dfefb87fb7e1210016b855eabb88..003b480aa01d27dc428877dc9935963335e5340d 100644
(file)
--- a/
liblttng-ust/compat.h
+++ b/
liblttng-ust/compat.h
@@
-100,7
+100,7
@@
int lttng_ust_setustprocname(void)
{
int ret = 0, len;
char name[LTTNG_UST_PROCNAME_LEN];
{
int ret = 0, len;
char name[LTTNG_UST_PROCNAME_LEN];
- int limit = LTTNG_UST_PROCNAME_LEN - strlen(LTTNG_UST_PROCNAME_SUFFIX);
+ int limit = LTTNG_UST_PROCNAME_LEN - strlen(LTTNG_UST_PROCNAME_SUFFIX)
- 1
;
lttng_ust_getprocname(name);
lttng_ust_getprocname(name);
@@
-110,7
+110,7
@@
int lttng_ust_setustprocname(void)
}
ret = sprintf(name + len, LTTNG_UST_PROCNAME_SUFFIX);
}
ret = sprintf(name + len, LTTNG_UST_PROCNAME_SUFFIX);
- if (ret) {
+ if (ret
!= strlen(LTTNG_UST_PROCNAME_SUFFIX)
) {
goto error;
}
goto error;
}
This page took
0.022872 seconds
and
4
git commands to generate.