projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: add missing string msg for save/load error code
[lttng-tools.git]
/
src
/
common
/
config
/
config.c
diff --git
a/src/common/config/config.c
b/src/common/config/config.c
index 088d5b55a1b7e7c926f9ee4c0e1444a41b94ac38..04bd2fdf207a71539e4e27a8b26f296b957a4c0b 100644
(file)
--- a/
src/common/config/config.c
+++ b/
src/common/config/config.c
@@
-2176,7
+2176,7
@@
int process_session_node(xmlNodePtr session_node, const char *session_name,
if (session_name && strcmp(name, session_name)) {
/* This is not the session we are looking for */
if (session_name && strcmp(name, session_name)) {
/* This is not the session we are looking for */
- ret = -LTTNG_ERR_LOAD_SESSION_NO
T_FOUND
;
+ ret = -LTTNG_ERR_LOAD_SESSION_NO
ENT
;
goto end;
}
goto end;
}
@@
-2328,7
+2328,7
@@
int load_session_from_file(const char *path, const char *session_name,
end:
xmlFreeDoc(doc);
if (!ret) {
end:
xmlFreeDoc(doc);
if (!ret) {
- ret = session_found ? 0 : -LTTNG_ERR_LOAD_SESSION_NO
T_FOUND
;
+ ret = session_found ? 0 : -LTTNG_ERR_LOAD_SESSION_NO
ENT
;
}
return ret;
}
}
return ret;
}
@@
-2430,7
+2430,7
@@
end:
}
if (!session_found) {
}
if (!session_found) {
- ret = -LTTNG_ERR_LOAD_SESSION_NO
T_FOUND
;
+ ret = -LTTNG_ERR_LOAD_SESSION_NO
ENT
;
}
return ret;
}
return ret;
This page took
0.026445 seconds
and
4
git commands to generate.