aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2010-05-19 22:57:52 -0500
committerChristophe Varoqui <christophe.varoqui@opensvc.com>2010-05-20 06:50:36 +0200
commitd33190d0c2fb8c6438ed05775afd971d55334793 (patch)
treece0e82005ec633a6e3436cf2ced196ef21d741e4
parent5190ae28879a311ed6f476159cf4c54baef435ff (diff)
downloadmultipath-tools-d33190d0c2fb8c6438ed05775afd971d55334793.tar.gz
multipath: fix fast_io_fail_tmo typo
The name of the sysfs file is actually fast_io_fail_tmo, not fast_io_fail Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
-rw-r--r--libmultipath/discovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c
index cf8cb35..122eb8f 100644
--- a/libmultipath/discovery.c
+++ b/libmultipath/discovery.c
@@ -233,7 +233,7 @@ sysfs_set_scsi_tmo (struct multipath *mpp)
sprintf(value, "off");
else
snprintf(value, 11, "%u", mpp->fast_io_fail);
- if (sysfs_attr_set_value(attr_path, "fast_io_fail",
+ if (sysfs_attr_set_value(attr_path, "fast_io_fail_tmo",
value))
return 1;
}