Use tabs instead of white spaces for indentation in 'lib/ipmi_chassis.c'.

This commit is contained in:
Zdenek Styblik 2013-07-10 04:22:12 +00:00
parent edc700ed9a
commit 3cb937f15e

View File

@ -746,14 +746,11 @@ ipmi_chassis_get_bootparam(struct ipmi_intf * intf, char * arg)
printf(" Block Data : %s\n", buf2str(rsp->data+3, rsp->data_len - 2)); printf(" Block Data : %s\n", buf2str(rsp->data+3, rsp->data_len - 2));
} }
break; break;
default: default:
printf(" Undefined byte\n"); printf(" Undefined byte\n");
break; break;
} }
return 0; return 0;
} }
@ -1083,7 +1080,6 @@ ipmi_chassis_main(struct ipmi_intf * intf, int argc, char ** argv)
else if (strncmp(argv[2], "clear-cmos=", 11) == 0) { else if (strncmp(argv[2], "clear-cmos=", 11) == 0) {
if (strncmp(argv[2]+11, "yes", 3) == 0) { if (strncmp(argv[2]+11, "yes", 3) == 0) {
uint8_t flags[5] = {0, (1<<7), 0, 0, 0}; uint8_t flags[5] = {0, (1<<7), 0, 0, 0};
rc = ipmi_chassis_set_bootdev(intf, argv[1], flags); rc = ipmi_chassis_set_bootdev(intf, argv[1], flags);
} else } else
rc = ipmi_chassis_set_bootdev(intf, argv[1], NULL); rc = ipmi_chassis_set_bootdev(intf, argv[1], NULL);
@ -1107,7 +1103,6 @@ ipmi_chassis_main(struct ipmi_intf * intf, int argc, char ** argv)
"Changes are persistent for all future boots"}, "Changes are persistent for all future boots"},
{"efiboot", 0, (1<<5), (1<<5), {"efiboot", 0, (1<<5), (1<<5),
"Extensible Firmware Interface Boot (EFI)"}, "Extensible Firmware Interface Boot (EFI)"},
/* data 2 */ /* data 2 */
{"clear-cmos", 1, (1<<7), (1<<7), {"clear-cmos", 1, (1<<7), (1<<7),
"CMOS clear"}, "CMOS clear"},
@ -1118,7 +1113,6 @@ ipmi_chassis_main(struct ipmi_intf * intf, int argc, char ** argv)
"Screen Blank"}, "Screen Blank"},
{"lockoutreset", 1, (1<<0), (1<<0), {"lockoutreset", 1, (1<<0), (1<<0),
"Lock out Resetbuttons"}, "Lock out Resetbuttons"},
/* data 3 */ /* data 3 */
{"lockout_power", 2, (1<<7), (1<<7), {"lockout_power", 2, (1<<7), (1<<7),
"Lock out (power off/sleep request) via Power Button"}, "Lock out (power off/sleep request) via Power Button"},
@ -1140,7 +1134,6 @@ ipmi_chassis_main(struct ipmi_intf * intf, int argc, char ** argv)
"Suppress (skip) console redirection if enabled"}, "Suppress (skip) console redirection if enabled"},
{"cons_redirect=enable", 2, (3<<0), (2<<0), {"cons_redirect=enable", 2, (3<<0), (2<<0),
"Suppress (skip) console redirection if enabled"}, "Suppress (skip) console redirection if enabled"},
/* data 4 */ /* data 4 */
/* data4[7:4] reserved */ /* data4[7:4] reserved */
/* data4[3] BIOS Shared Mode Override, not implemented here */ /* data4[3] BIOS Shared Mode Override, not implemented here */