X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Flow-throughput%2Fmain.c;h=f199050af96e9f4589d052060f18752f4809f1e0;hp=06ab9ef825ae20c6c73c08ae7d9091aa0dfceabe;hb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;hpb=5d2e1e66a968d9e555f9b8b00d0589ebfaf3de32 diff --git a/tests/regression/ust/low-throughput/main.c b/tests/regression/ust/low-throughput/main.c index 06ab9ef82..f199050af 100644 --- a/tests/regression/ust/low-throughput/main.c +++ b/tests/regression/ust/low-throughput/main.c @@ -1,19 +1,8 @@ /* - * Copyright (C) 2012 - David Goulet + * Copyright (C) 2012 David Goulet * - * 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. + * SPDX-License-Identifier: LGPL-2.1-only * - * 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 */ #include @@ -34,7 +23,7 @@ static void *th_event_minute(void *data) /* Loop for 20 minutes */ for (i = 1; i < 21; i++) { /* Sleep 60 seconds */ - poll(NULL, 0, 60000); + (void) poll(NULL, 0, 60000); /* 20 minutes tracepoint */ if ((i % 20) == 0) {