* src/dd.c (advance_input_after_read_error): Change diagnostic to
authorJim Meyering <jim@meyering.net>
Fri, 26 Jan 2007 15:37:37 +0000 (16:37 +0100)
committerJim Meyering <jim@meyering.net>
Fri, 26 Jan 2007 15:37:37 +0000 (16:37 +0100)
say "invalid file offset" rather than "screwy file offset".

ChangeLog
src/dd.c

index e85134e..8255231 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-01-26  Jim Meyering  <jim@meyering.net>
 
+       * src/dd.c (advance_input_after_read_error): Change diagnostic to
+       say "invalid file offset" rather than "screwy file offset".
+
        * .x-sc_cast_of_argument_to_free: Remove this file.
        * Makefile.am (EXTRA_DIST): Likewise.
 
index 1a3a4e4..c781da4 100644 (file)
--- 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)