mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Add missing newlines when cvs output is specified see ID 3611912 for details
This commit is contained in:
parent
14e26ac8a0
commit
cf6740b3f6
@ -2138,7 +2138,7 @@ ipmi_sdr_print_sensor_mc_locator(struct ipmi_intf *intf,
|
|||||||
|
|
||||||
if (verbose == 0) {
|
if (verbose == 0) {
|
||||||
if (csv_output)
|
if (csv_output)
|
||||||
printf("%s,00h,ok,%d.%d",
|
printf("%s,00h,ok,%d.%d\n",
|
||||||
mc->id_code ? desc : "",
|
mc->id_code ? desc : "",
|
||||||
mc->entity.id, mc->entity.instance);
|
mc->entity.id, mc->entity.instance);
|
||||||
else if (sdr_extended) {
|
else if (sdr_extended) {
|
||||||
@ -2231,7 +2231,7 @@ ipmi_sdr_print_sensor_generic_locator(struct ipmi_intf *intf,
|
|||||||
|
|
||||||
if (!verbose) {
|
if (!verbose) {
|
||||||
if (csv_output)
|
if (csv_output)
|
||||||
printf("%s,00h,ns,%d.%d,",
|
printf("%s,00h,ns,%d.%d\n",
|
||||||
dev->id_code ? desc : "",
|
dev->id_code ? desc : "",
|
||||||
dev->entity.id, dev->entity.instance);
|
dev->entity.id, dev->entity.instance);
|
||||||
else if (sdr_extended)
|
else if (sdr_extended)
|
||||||
@ -2288,7 +2288,7 @@ ipmi_sdr_print_sensor_fru_locator(struct ipmi_intf *intf,
|
|||||||
|
|
||||||
if (!verbose) {
|
if (!verbose) {
|
||||||
if (csv_output)
|
if (csv_output)
|
||||||
printf("%s,00h,ns,%d.%d,",
|
printf("%s,00h,ns,%d.%d\n",
|
||||||
fru->id_code ? desc : "",
|
fru->id_code ? desc : "",
|
||||||
fru->entity.id, fru->entity.instance);
|
fru->entity.id, fru->entity.instance);
|
||||||
else if (sdr_extended)
|
else if (sdr_extended)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user