dcfldd/debian/patches/fix-sizeprobe-option.patch

17 lines
543 B
Diff
Raw Normal View History

2014-11-26 21:01:30 +00:00
Description: fix the sizeprobe=of option.
Author: Vangelis Koukis <vkoukis@gmail.com>
Last-Update: 2014-08-03
Index: dcfldd-1.3.4.1/dcfldd.c
===================================================================
--- dcfldd-1.3.4.1.orig/dcfldd.c
+++ dcfldd-1.3.4.1/dcfldd.c
@@ -759,7 +759,7 @@ int main(int argc, char **argv)
else
sizeprobe(STDIN_FILENO);
else if (probe == PROBE_OUTPUT)
- sizeprobe(STDOUT_FILENO);
+ sizeprobe(outputlist->data.fd);
start_time = time(NULL);
if (do_verify)