mirror of
https://github.com/adulau/dcfldd.git
synced 2024-12-22 16:56:03 +00:00
16 lines
543 B
Diff
16 lines
543 B
Diff
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)
|