diff options
author | Jim Meyering <jim@meyering.net> | 2007-01-26 16:37:37 +0100 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-01-26 16:37:37 +0100 |
commit | 9140950afb79c94be0d466bf3dae1db7de927a39 (patch) | |
tree | c02179fca7a4dc7e1fe798ca1b89ce3c31f55232 /src | |
parent | e0b3b059b2e891c8393348253167188e44805778 (diff) | |
download | coreutils-9140950afb79c94be0d466bf3dae1db7de927a39.tar.xz |
* src/dd.c (advance_input_after_read_error): Change diagnostic to
say "invalid file offset" rather than "screwy file offset".
Diffstat (limited to 'src')
-rw-r--r-- | src/dd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* dd -- convert a file while copying it. - Copyright (C) 85, 90, 91, 1995-2006 Free Software Foundation, Inc. + Copyright (C) 85, 90, 91, 1995-2007 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 @@ -1226,7 +1226,7 @@ advance_input_after_read_error (size_t nbytes) return true; diff = input_offset - offset; if (! (0 <= diff && diff <= nbytes)) - error (0, 0, _("warning: screwy file offset after failed read")); + error (0, 0, _("warning: invalid file offset after failed read")); if (0 <= skip_via_lseek (input_file, STDIN_FILENO, diff, SEEK_CUR)) return true; if (errno == 0) |