aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/dcfldd/dcfldd-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/dcfldd/dcfldd-error.patch')
-rw-r--r--unmaintained/dcfldd/dcfldd-error.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/unmaintained/dcfldd/dcfldd-error.patch b/unmaintained/dcfldd/dcfldd-error.patch
new file mode 100644
index 0000000000..5bf0e60758
--- /dev/null
+++ b/unmaintained/dcfldd/dcfldd-error.patch
@@ -0,0 +1,15 @@
+--- a/util.c
++++ b/util.c
+@@ -135,9 +133,9 @@
+ && ioctl (fdesc, MTIOCGET, &s2) == 0
+ && MT_SAME_POSITION (s1, s2))
+ {
++ fprintf(stderr, "%s: warning: working around lseek kernel bug for file (%s)\n"
++ " of mt_type=0x%0lx -- see <sys/mtio.h> for the list of types\n",
++ program_name, filename, s2.mt_type);
+- error (0, 0, _("warning: working around lseek kernel bug for file (%s)\n\
+- of mt_type=0x%0lx -- see <sys/mtio.h> for the list of types"),
+- filename, s2.mt_type);
+ errno = 0;
+ new_position = -1;
+ }