diff options
author | Benjamin Marzinski <bmarzins@redhat.com> | 2010-05-19 22:57:52 -0500 |
---|---|---|
committer | Christophe Varoqui <christophe.varoqui@opensvc.com> | 2010-05-20 06:50:36 +0200 |
commit | d33190d0c2fb8c6438ed05775afd971d55334793 (patch) | |
tree | ce0e82005ec633a6e3436cf2ced196ef21d741e4 | |
parent | 5190ae28879a311ed6f476159cf4c54baef435ff (diff) | |
download | multipath-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.c | 2 |
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; } |