Copyright ownership transfer
[lttng-tools.git] / src / lib / lttng-ctl / lttng-ctl-health.cpp
index 2a992830d5a41209cb99c162b71c6d2a4e38f57c..8981c761960dc9f8307fe280ebaabe1c9d681aec 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
@@ -214,8 +214,11 @@ int set_health_socket_path(struct lttng_health *lh,
                home = "/tmp";
        }
 
+       DIAGNOSTIC_PUSH
+       DIAGNOSTIC_IGNORE_FORMAT_NONLITERAL
        ret = snprintf(lh->health_sock_path, sizeof(lh->health_sock_path),
                        home_str, home);
+       DIAGNOSTIC_POP
        if ((ret < 0) || (ret >= sizeof(lh->health_sock_path))) {
                return -ENOMEM;
        }
This page took 0.024401 seconds and 4 git commands to generate.