aboutsummaryrefslogtreecommitdiff
path: root/src/sg_rdac.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2008-06-04 18:56:15 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2008-06-04 18:56:15 +0000
commit1ed38622e036161089f63939413f673c79ac81f0 (patch)
treecfafc43e27e6e88e7e3da3e36dcee3c7859d0fcf /src/sg_rdac.c
parente435ab5aeb5b54382ded4a6525c2b5f4c4956f72 (diff)
downloadsg3_utils-1ed38622e036161089f63939413f673c79ac81f0.tar.gz
remove trailing spaces from various source files
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@178 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_rdac.c')
-rw-r--r--src/sg_rdac.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sg_rdac.c b/src/sg_rdac.c
index d5be61f1..d78f3e31 100644
--- a/src/sg_rdac.c
+++ b/src/sg_rdac.c
@@ -103,7 +103,7 @@ static int fail_all_paths(int fd)
rdac_page->quiescence = RDAC_QUIESCENCE_TIME;
rdac_page->options = RDAC_FORCE_QUIESCENCE;
rdac_page->current_mode_lsb = RDAC_FAIL_ALL_PATHS;
-
+
res = sg_ll_mode_select6(fd, 1 /* pf */, 0 /* sp */,
fail_paths_pg, 118,
1, (do_verbose ? 2 : 0));
@@ -243,7 +243,7 @@ static void print_rdac_mode( unsigned char *ptr )
printf("active/active mode; ");
break;
default:
- printf("(Unknown status 0x%x); ",
+ printf("(Unknown status 0x%x); ",
rdac_ptr->alternate_mode_msb);
break;
}
@@ -316,7 +316,7 @@ int main(int argc, char * argv[])
int fail_all = 0;
int fail_path = 0;
int ret = 0;
-
+
if (argc < 2) {
usage ();
return SG_LIB_SYNTAX_ERROR;
@@ -362,14 +362,14 @@ int main(int argc, char * argv[])
usage();
return SG_LIB_FILE_ERROR;
}
-
+
if (fail_all) {
res = fail_all_paths(fd);
} else if (fail_path) {
res = fail_this_path(fd, lun);
} else {
- res = sg_ll_mode_sense6(fd, /*DBD*/ 0, /* page control */0,
- 0x2c, 0, rsp_buff, 252,
+ res = sg_ll_mode_sense6(fd, /*DBD*/ 0, /* page control */0,
+ 0x2c, 0, rsp_buff, 252,
1, do_verbose);
if (!res) {