diff options
-rw-r--r-- | daemon/fill.c | 1 | ||||
-rwxr-xr-x | src/generator.ml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/daemon/fill.c b/daemon/fill.c index a3e3d374..8686226f 100644 --- a/daemon/fill.c +++ b/daemon/fill.c @@ -113,6 +113,7 @@ do_fill_pattern (const char *pattern, int len, const char *path) return -1; } n += wrlen; + notify_progress ((uint64_t) n, (uint64_t) len_sz); } if (close (fd) == -1) { diff --git a/src/generator.ml b/src/generator.ml index b5c88e92..c9a99e1b 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -5068,7 +5068,7 @@ filename is not printable, coreutils uses a special backslash syntax. For more information, see the GNU coreutils info file."); - ("fill_pattern", (RErr, [String "pattern"; Int "len"; Pathname "path"]), 245, [], + ("fill_pattern", (RErr, [String "pattern"; Int "len"; Pathname "path"]), 245, [Progress], [InitBasicFS, Always, TestOutputBuffer ( [["fill_pattern"; "abcdefghijklmnopqrstuvwxyz"; "28"; "/test"]; ["read_file"; "/test"]], "abcdefghijklmnopqrstuvwxyzab")], |