These didn't work because of copy and paste errors in
commit 086a1ceaeb8da4c67787c31580548f7a607b7a7c
and commit f649b53c037681e897471aa438758a07f067d624.
Thanks: Martin Kletzander
---
filters/error/error.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/filters/error/error.c b/filters/error/error.c
index bf7b442..0f84f12 100644
--- a/filters/error/error.c
+++ b/filters/error/error.c
@@ -213,27 +213,27 @@ error_config (nbdkit_next_config *next, void *nxdata,
extents_settings.file = nbdkit_absolute_path (value);
return 0;
}
- else if (strcmp (key, "error-pread-rate") == 0) {
+ else if (strcmp (key, "error-pread-file") == 0) {
free (pread_settings.file);
pread_settings.file = nbdkit_absolute_path (value);
return 0;
}
- else if (strcmp (key, "error-pwrite-rate") == 0) {
+ else if (strcmp (key, "error-pwrite-file") == 0) {
free (pwrite_settings.file);
pwrite_settings.file = nbdkit_absolute_path (value);
return 0;
}
- else if (strcmp (key, "error-trim-rate") == 0) {
+ else if (strcmp (key, "error-trim-file") == 0) {
free (trim_settings.file);
trim_settings.file = nbdkit_absolute_path (value);
return 0;
}
- else if (strcmp (key, "error-zero-rate") == 0) {
+ else if (strcmp (key, "error-zero-file") == 0) {
free (zero_settings.file);
zero_settings.file = nbdkit_absolute_path (value);
return 0;
}
- else if (strcmp (key, "error-extents-rate") == 0) {
+ else if (strcmp (key, "error-extents-file") == 0) {
free (extents_settings.file);
extents_settings.file = nbdkit_absolute_path (value);
return 0;
--
2.20.1
Show replies by date