diff options
Diffstat (limited to 'src/slowcat.c')
-rw-r--r-- | src/slowcat.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/slowcat.c b/src/slowcat.c index 78ac531e..15983d26 100644 --- a/src/slowcat.c +++ b/src/slowcat.c @@ -1,19 +1,19 @@ /* * Copyright (C) 2002 Red Hat, Inc. * - * This is free software; you can redistribute it and/or modify it under - * the terms of the GNU Library General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * 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; either + * version 2.1 of the License, or (at your option) any later version. * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of + * 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 - * General Public License for more details. + * Lesser General Public License for more details. * - * You should have received a copy of the GNU Library General Public - * License along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * 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 <config.h> @@ -62,7 +62,7 @@ catfile(const char *pathname, long delay, long chunksize) } } if (i > 0) { - int bytes; + int bytes G_GNUC_UNUSED; bytes = write(STDOUT_FILENO, buf, i); fsync(STDOUT_FILENO); } |