summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Varoqui <christophe.varoqui@free.fr>2010-03-25 20:16:23 +0100
committerChristophe Varoqui <christophe.varoqui@free.fr>2010-03-25 20:16:23 +0100
commit826b14582180ad059c5f233c6eda74182328a0e2 (patch)
tree5088ce3cd02dd63d21c42760026e2e37f0551223
parent52d19875861cb7e9a2195b13c70acd600e9b5395 (diff)
downloadmultipath-tools-826b14582180ad059c5f233c6eda74182328a0e2.tar.gz
multipath-tools-826b14582180ad059c5f233c6eda74182328a0e2.tar.bz2
multipath-tools-826b14582180ad059c5f233c6eda74182328a0e2.zip
Correct whitespace before tabs warnings
-rw-r--r--libmultipath/discovery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c
index 70495b0..e7c8ead 100644
--- a/libmultipath/discovery.c
+++ b/libmultipath/discovery.c
@@ -216,7 +216,7 @@ sysfs_set_scsi_tmo (struct multipath *mpp)
return 0;
vector_foreach_slot(mpp->paths, pp, i) {
if (safe_snprintf(attr_path, SYSFS_PATH_SIZE,
- "/class/fc_remote_ports/rport-%d:%d-%d",
+ "/class/fc_remote_ports/rport-%d:%d-%d",
pp->sg_id.host_no, pp->sg_id.channel,
pp->sg_id.scsi_id)) {
condlog(0, "attr_path '/class/fc_remote_ports/rport-%d:%d-%d' too large", pp->sg_id.host_no, pp->sg_id.channel, pp->sg_id.scsi_id);
@@ -224,7 +224,7 @@ sysfs_set_scsi_tmo (struct multipath *mpp)
}
if (mpp->dev_loss){
snprintf(value, 11, "%u", mpp->dev_loss);
- if (sysfs_attr_set_value(attr_path, "dev_loss_tmo",
+ if (sysfs_attr_set_value(attr_path, "dev_loss_tmo",
value))
return 1;
}