projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: mark utils_get_home_dir as returning a const string
[lttng-tools.git]
/
src
/
bin
/
lttng
/
utils.c
diff --git
a/src/bin/lttng/utils.c
b/src/bin/lttng/utils.c
index 1e3b91344d24ae58470b2cb966758402bd41c322..fa2d3c9da626542fc9a0d1bb78bdf017197eedd1 100644
(file)
--- a/
src/bin/lttng/utils.c
+++ b/
src/bin/lttng/utils.c
@@
-51,7
+51,8
@@
static const char *str_function = "Function";
static
char *_get_session_name(int quiet)
{
static
char *_get_session_name(int quiet)
{
- char *path, *session_name = NULL;
+ const char *path;
+ char *session_name = NULL;
/* Get path to config file */
path = utils_get_home_dir();
/* Get path to config file */
path = utils_get_home_dir();
This page took
0.069691 seconds
and
4
git commands to generate.