diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2009-07-22 02:22:05 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2009-07-22 02:22:05 +0000 |
commit | 017aa7827624e209683c4376074d598ed518e915 (patch) | |
tree | 9ad686b4865d2384dc72058ef8284996f4d0da79 /src/sg_rdac.c | |
parent | 137715a6cb23b4d53521fdeffbfb6164bce4781b (diff) | |
download | sg3_utils-017aa7827624e209683c4376074d598ed518e915.tar.gz |
change many printf(0x%x) format strings to %#x
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@281 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_rdac.c')
-rw-r--r-- | src/sg_rdac.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sg_rdac.c b/src/sg_rdac.c index d78f3e31..fb609494 100644 --- a/src/sg_rdac.c +++ b/src/sg_rdac.c @@ -212,7 +212,7 @@ static void print_rdac_mode( unsigned char *ptr ) printf("alternate controller present; "); break; default: - printf("(Unknown controller status 0x%x); ", + printf("(Unknown controller status %#x); ", rdac_ptr->current_mode_msb); break; } @@ -227,7 +227,7 @@ static void print_rdac_mode( unsigned char *ptr ) printf("Dual active mode\n"); break; default: - printf("(Unknown mode 0x%x)\n", + printf("(Unknown mode %#x)\n", rdac_ptr->current_mode_lsb); } @@ -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 %#x); ", rdac_ptr->alternate_mode_msb); break; } @@ -261,11 +261,11 @@ static void print_rdac_mode( unsigned char *ptr ) printf("held in reset\n"); break; default: - printf("(Unknown mode 0x%x)\n", + printf("(Unknown mode %#x)\n", rdac_ptr->alternate_mode_lsb); } printf(" Quiescence timeout: %d\n", rdac_ptr->quiescence); - printf(" RDAC option 0x%x\n", rdac_ptr->options); + printf(" RDAC option %#x\n", rdac_ptr->options); printf (" LUN Table:\n"); for (k = 0; k < 32; k += 8) { printf(" %x:",k / 8); |