diff options
| author | Jesse Young <jlyo@jlyo.org> | 2015-09-15 09:42:09 -0500 |
|---|---|---|
| committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-09-17 07:27:46 +0000 |
| commit | d942ef8e7b57a214bc7bb63ff22b466bf41ad0d7 (patch) | |
| tree | 0d4b612e6f4837ec8424d7845017e3a9989c3776 /testing/dcfldd/dcfldd-error.patch | |
| parent | e4e01921f714ae1faa15c1c3929da3a67bf4e3d7 (diff) | |
| download | aports-d942ef8e7b57a214bc7bb63ff22b466bf41ad0d7.tar.bz2 aports-d942ef8e7b57a214bc7bb63ff22b466bf41ad0d7.tar.xz | |
testing/dcfldd: new aport
Diffstat (limited to 'testing/dcfldd/dcfldd-error.patch')
| -rw-r--r-- | testing/dcfldd/dcfldd-error.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/dcfldd/dcfldd-error.patch b/testing/dcfldd/dcfldd-error.patch new file mode 100644 index 0000000000..5bf0e60758 --- /dev/null +++ b/testing/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; + } |
