Fix: correct mismatched function signatures
[lttng-tools.git] / src / bin / lttng / commands / create.c
index 4540cc8cc5cf7e4399e0d5c1ac4150426bc8f8ce..4250bfdb9d705dff0815df6e22b07b77046b8ef7 100644 (file)
@@ -76,7 +76,7 @@ static struct poptOption long_options[] = {
  * why this declaration exists and used ONLY in for this command.
  */
 extern int _lttng_create_session_ext(const char *name, const char *url,
-               const char *datetime, int live_timer);
+               const char *datetime);
 
 /*
  * usage
@@ -451,7 +451,7 @@ static int create_session(void)
                }
                ret = lttng_create_session_live(session_name, url, opt_live_timer);
        } else {
-               ret = _lttng_create_session_ext(session_name, url, datetime, -1);
+               ret = _lttng_create_session_ext(session_name, url, datetime);
        }
        if (ret < 0) {
                /* Don't set ret so lttng can interpret the sessiond error. */
This page took 0.023069 seconds and 4 git commands to generate.