summaryrefslogtreecommitdiff
path: root/src/dd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-01-26 16:37:37 +0100
committerJim Meyering <jim@meyering.net>2007-01-26 16:37:37 +0100
commit9140950afb79c94be0d466bf3dae1db7de927a39 (patch)
treec02179fca7a4dc7e1fe798ca1b89ce3c31f55232 /src/dd.c
parente0b3b059b2e891c8393348253167188e44805778 (diff)
downloadcoreutils-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/dd.c')
-rw-r--r--src/dd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dd.c b/src/dd.c
index 1a3a4e426..c781da41c 100644
--- a/src/dd.c
+++ b/src/dd.c
@@ -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)