Signed-off-by: David Goulet <dgoulet@efficios.com>
fp = open_config(path, "r");
if (fp == NULL) {
ERR("Can't find valid lttng config %s/.lttngrc", path);
fp = open_config(path, "r");
if (fp == NULL) {
ERR("Can't find valid lttng config %s/.lttngrc", path);
- MSG("Did you create a session? (lttng create <my_sesion>)");
+ MSG("Did you create a session? (lttng create <my_session>)");
if ((ret = fscanf(fp, "%[^'=']=%s\n", var, session_name)) != 2) {
if (ret == -1) {
ERR("Missing session=NAME in config file.");
if ((ret = fscanf(fp, "%[^'=']=%s\n", var, session_name)) != 2) {
if (ret == -1) {
ERR("Missing session=NAME in config file.");