From 1ed38622e036161089f63939413f673c79ac81f0 Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Wed, 4 Jun 2008 18:56:15 +0000 Subject: remove trailing spaces from various source files git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@178 6180dd3e-e324-4e3e-922d-17de1ae2f315 --- src/sg_rdac.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/sg_rdac.c') 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) { -- cgit v1.2.3