X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Futils.c;h=599f7ff819f3cf4855ca9f7b47ae27d6343c0493;hb=87250ba19aec78f36e301494a03f5678fcb6fbb4;hp=db124bc354515c22f5eef55e89a1527e6b55c9ce;hpb=4f00620d66e81d89a546b29a774dad49d38983b3;p=lttng-tools.git diff --git a/src/bin/lttng-relayd/utils.c b/src/bin/lttng-relayd/utils.c index db124bc35..599f7ff81 100644 --- a/src/bin/lttng-relayd/utils.c +++ b/src/bin/lttng-relayd/utils.c @@ -1,23 +1,12 @@ /* - * Copyright (C) 2013 - Julien Desfossez - * David Goulet + * Copyright (C) 2013 Julien Desfossez + * Copyright (C) 2013 David Goulet * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License, version 2 only, as - * published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define _LGPL_SOURCE -#include #include #include #include @@ -79,7 +68,7 @@ exit: */ char *create_output_path(const char *path_name) { - assert(path_name); + LTTNG_ASSERT(path_name); if (opt_output_path == NULL) { return create_output_path_auto(path_name);