session_find_by_name does not need a non-const name param
[lttng-tools.git] / src / bin / lttng-sessiond / session.c
index e7904472fb9f5f19113bef0e247160aaff999d38..cd59cb7ab0cec8624992a8ddb90da63e365388fb 100644 (file)
@@ -160,7 +160,7 @@ void session_unlock(struct ltt_session *session)
  * NULL is returned. This must be called with the session lock held using
  * session_lock_list and session_unlock_list.
  */
-struct ltt_session *session_find_by_name(char *name)
+struct ltt_session *session_find_by_name(const char *name)
 {
        struct ltt_session *iter;
 
This page took 0.023041 seconds and 4 git commands to generate.