Copyright ownership transfer
[lttng-tools.git] / src / lib / lttng-ctl / lttng-ctl-health.c
index dc1516db5d0c7336371e10f0408927eef34a949e..5a54dfb1416c9638615494fc54000fc8755b8d69 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Linux Trace Toolkit Health Control Library
  *
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
  * Copyright (C) 2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
  * SPDX-License-Identifier: LGPL-2.1-only
@@ -231,8 +231,8 @@ struct lttng_health *lttng_health_create_relayd(const char *path)
                goto error;
        }
 
-       ret = lttng_strncpy(lh->health_sock_path, path ?: "",
-                           sizeof(lh->health_sock_path));
+       ret = lttng_strncpy(lh->health_sock_path, path,
+                       sizeof(lh->health_sock_path));
        if (ret) {
                goto error;
        }
This page took 0.024704 seconds and 4 git commands to generate.