diff options
author | Jim Meyering <jim@meyering.net> | 1997-01-25 06:11:22 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-01-25 06:11:22 +0000 |
commit | 18195dd699ddb50f7e5ffbda76fd1a15ae91ab5b (patch) | |
tree | 919a4e0d11041b222f30b44589fb0a1a882b34ff /src/fmt.c | |
parent | 338b31ba60420538af8f6d7f525d7ff29cad6465 (diff) | |
download | coreutils-18195dd699ddb50f7e5ffbda76fd1a15ae91ab5b.tar.xz |
fix copyright filling
Diffstat (limited to 'src/fmt.c')
-rw-r--r-- | src/fmt.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -12,9 +12,8 @@ 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, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* Written by Ross Paterson <rap@doc.ic.ac.uk>. */ @@ -382,7 +381,7 @@ main (register int argc, register char **argv) case 'w': { long int tmp_long; - if (xstrtol (optarg, NULL, 10, &tmp_long, NULL) != LONGINT_OK + if (xstrtol (optarg, NULL, 10, &tmp_long, "") != LONGINT_OK || tmp_long <= 0 || tmp_long > INT_MAX) error (EXIT_FAILURE, 0, _("invalid line number increment: `%s'"), optarg); |