X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fwarning.c;h=d58a575d5813fe2e7f83fc907cb4d71a47ea24e4;hb=f7077dd38b018f19d3a5c7df6accc6b07b8a2356;hp=570b3c113517450dc59d1d2f394cc03f2a553c53;hpb=696338043e52f440853e1143c52b81b41cd59723;p=chaz%2Ftar
diff --git a/src/warning.c b/src/warning.c
index 570b3c1..d58a575 100644
--- a/src/warning.c
+++ b/src/warning.c
@@ -1,19 +1,21 @@
-/* This file is part of GNU tar.
+/* Warnings for GNU tar.
- Copyright (C) 2009, 2012 Free Software Foundation, Inc.
+ Copyright 2009, 2012-2013 Free Software Foundation, Inc.
- This program is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; either version 3, or (at your option) any later
- version.
+ This file is part of GNU tar.
- 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.
+ GNU tar is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
- You should have received a copy of the GNU General Public License along
- with this program. If not, see . */
+ GNU tar 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, see . */
#include
#include
@@ -44,6 +46,7 @@ static char const *const warning_args[] = {
"decompress-program",
"existing-file",
"xattr-write",
+ "record-size",
NULL
};
@@ -70,7 +73,8 @@ static int warning_types[] = {
WARN_XDEV,
WARN_DECOMPRESS_PROGRAM,
WARN_EXISTING_FILE,
- WARN_XATTR_WRITE
+ WARN_XATTR_WRITE,
+ WARN_RECORD_SIZE
};
ARGMATCH_VERIFY (warning_args, warning_types);