X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fthread-utils.c;h=1eb25eabe6e09cf753413ad17c9a79e1e2fa9d3b;hb=a0377dfefe40662ba7d68617bce6ff467114136c;hp=60d4c276224edf402c3a30af2738990631958c7a;hpb=2d54bfb67f451a491c8cdfb6f6caea3981dc21a8;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/thread-utils.c b/src/bin/lttng-sessiond/thread-utils.c index 60d4c2762..1eb25eabe 100644 --- a/src/bin/lttng-sessiond/thread-utils.c +++ b/src/bin/lttng-sessiond/thread-utils.c @@ -1,20 +1,10 @@ /* - * Copyright (C) 2011 - David Goulet - * Mathieu Desnoyers - * 2013 - Jérémie Galarneau + * Copyright (C) 2011 David Goulet + * Copyright (C) 2011 Mathieu Desnoyers + * Copyright (C) 2013 Jérémie Galarneau * - * 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. */ #include "lttng-sessiond.h" @@ -124,7 +114,7 @@ int __sessiond_set_thread_pollset(struct lttng_poll_event *events, size_t size, { int ret; - assert(events); + LTTNG_ASSERT(events); ret = lttng_poll_create(events, size, LTTNG_CLOEXEC); if (ret < 0) {