X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust-dl%2Flttng-ust-dl.c;h=004a7ae266596fb939427bb79d9e2f16a6c6c21a;hb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;hp=ce2ae0e7028036a0b6e61ed4520bbba9b341a384;hpb=42330adcefcd1830dad89e2a960c93d8dd1da125;p=lttng-ust.git diff --git a/liblttng-ust-dl/lttng-ust-dl.c b/liblttng-ust-dl/lttng-ust-dl.c index ce2ae0e7..004a7ae2 100644 --- a/liblttng-ust-dl/lttng-ust-dl.c +++ b/liblttng-ust-dl/lttng-ust-dl.c @@ -1,27 +1,15 @@ /* - * Copyright (C) 2013 Paul Woegerer - * Copyright (C) 2015 Antoine Busque - * Copyright (C) 2016 Mathieu Desnoyers + * SPDX-License-Identifier: LGPL-2.1-only * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 of - * the License. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * Copyright (C) 2013 Paul Woegerer + * Copyright (C) 2015 Antoine Busque + * Copyright (C) 2016 Mathieu Desnoyers */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include #include +#include #include #include @@ -107,7 +95,7 @@ void lttng_ust_dl_dlopen(void *so_base, const char *so_name, elf = lttng_ust_elf_create(resolved_path); if (!elf) { - ERR("could not acces file %s", resolved_path); + ERR("could not access file %s", resolved_path); return; } @@ -169,7 +157,7 @@ void lttng_ust_dl_dlmopen(void *so_base, Lmid_t nsid, const char *so_name, elf = lttng_ust_elf_create(resolved_path); if (!elf) { - ERR("could not acces file %s", resolved_path); + ERR("could not access file %s", resolved_path); return; }