X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Frotation.h;h=316f2cdb52c5700e5dd42dd409d910cbd98f04f5;hp=d13f3641a2dfba3dbf878c89f20ab5fac56a62d9;hb=403e01ee4af47ae897fe42f1ed420648027022ae;hpb=66ea93b10c703e1b3dda1e17109eed9138e4ece2 diff --git a/include/lttng/rotation.h b/include/lttng/rotation.h index d13f3641a..316f2cdb5 100644 --- a/include/lttng/rotation.h +++ b/include/lttng/rotation.h @@ -1,19 +1,9 @@ /* - * Copyright (C) 2017 - Julien Desfossez - * Copyright (C) 2018 - Jérémie Galarneau + * Copyright (C) 2017 Julien Desfossez + * Copyright (C) 2018 Jérémie Galarneau * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License, version 2.1 only, - * as published by the Free Software Foundation. + * 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 */ #ifndef LTTNG_ROTATION_H @@ -57,7 +47,7 @@ enum lttng_rotation_state { /* * The rotation could not be completed due to an error. */ - LTTNG_ROTATION_STATE_ERROR = 4, + LTTNG_ROTATION_STATE_ERROR = -1, }; enum lttng_rotation_status {