*
* 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
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;
}