aboutsummaryrefslogtreecommitdiff
path: root/lib/geom
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2019-09-10 20:27:44 +0000
committerMariusz Zaborski <oshogbo@FreeBSD.org>2019-09-10 20:27:44 +0000
commita0ddf7998714a2a0cd99cdfc6a79f0d0b533ce8b (patch)
tree0e94d84d5be27e5cdc71809b8f22ef5b4a99d4d6 /lib/geom
parentb088a4d6f92c72b526fe9604847eda75ba1378de (diff)
downloadsrc-a0ddf7998714a2a0cd99cdfc6a79f0d0b533ce8b.tar.gz
src-a0ddf7998714a2a0cd99cdfc6a79f0d0b533ce8b.zip
gnop: Fix initial value for the wdelayprob
Reported by: Chuck Silvers <chuq@chuq.com>
Notes
Notes: svn path=/head/; revision=352186
Diffstat (limited to 'lib/geom')
-rw-r--r--lib/geom/nop/geom_nop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/geom/nop/geom_nop.c b/lib/geom/nop/geom_nop.c
index 12321d2179f2..ea7afdce0ca0 100644
--- a/lib/geom/nop/geom_nop.c
+++ b/lib/geom/nop/geom_nop.c
@@ -53,7 +53,7 @@ struct g_command class_commands[] = {
{ 's', "size", "0", G_TYPE_NUMBER },
{ 'S', "secsize", "0", G_TYPE_NUMBER },
{ 'w', "wfailprob", "-1", G_TYPE_NUMBER },
- { 'x', "wdelayprob", "1", G_TYPE_NUMBER },
+ { 'x', "wdelayprob", "-1", G_TYPE_NUMBER },
{ 'z', "physpath", G_NOP_PHYSPATH_PASSTHROUGH, G_TYPE_STRING },
G_OPT_SENTINEL
},
@@ -68,7 +68,7 @@ struct g_command class_commands[] = {
{ 'q', "rdelayprob", "-1", G_TYPE_NUMBER },
{ 'r', "rfailprob", "-1", G_TYPE_NUMBER },
{ 'w', "wfailprob", "-1", G_TYPE_NUMBER },
- { 'x', "wdelayprob", "1", G_TYPE_NUMBER },
+ { 'x', "wdelayprob", "-1", G_TYPE_NUMBER },
G_OPT_SENTINEL
},
"[-v] [-d delaymsec] [-e error] [-q rdelayprob] [-r rfailprob] "