Skip to content

Commit 71c4e02

Browse files
committed
Whitespace cleanups.
1 parent c9209be commit 71c4e02

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

dmidecode.c

+7-7
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ const char *dmi_chassis_type(u8 code)
442442
"Rack Mount Chassis",
443443
"Sealed-case PC",
444444
"Multi-system",
445-
"CompactPCI",
445+
"CompactPCI",
446446
"AdvancedTCA" /* 0x1B */
447447
};
448448

@@ -1036,7 +1036,7 @@ static const char *dmi_processor_upgrade(u8 code)
10361036
"Socket 754",
10371037
"Socket 940",
10381038
"Socket 939",
1039-
"Socket mPGA604",
1039+
"Socket mPGA604",
10401040
"Socket LGA771",
10411041
"Socket LGA775" /* 0x15 */
10421042
};
@@ -1429,7 +1429,7 @@ static const char *dmi_port_connector_type(u8 code)
14291429
"Mini Jack (headphones)",
14301430
"BNC",
14311431
"IEEE 1394",
1432-
"SAS/SATA Plug Receptacle" /* 0x22 */
1432+
"SAS/SATA Plug Receptacle" /* 0x22 */
14331433
};
14341434
static const char *type_0xA0[]={
14351435
"PC-98", /* 0xA0 */
@@ -1484,7 +1484,7 @@ static const char *dmi_port_type(u8 code)
14841484
"Audio Port",
14851485
"Modem Port",
14861486
"Network Port",
1487-
"SATA",
1487+
"SATA",
14881488
"SAS" /* 0x21 */
14891489
};
14901490
static const char *type_0xA0[]={
@@ -2063,7 +2063,7 @@ static const char *dmi_memory_device_form_factor(u8 code)
20632063
"RIMM",
20642064
"SODIMM",
20652065
"SRIMM",
2066-
"FB-DIMM" /* 0x0F */
2066+
"FB-DIMM" /* 0x0F */
20672067
};
20682068

20692069
if(code>=0x01 && code<=0x0F)
@@ -2104,7 +2104,7 @@ static const char *dmi_memory_device_type(u8 code)
21042104
"RDRAM",
21052105
"DDR",
21062106
"DDR2",
2107-
"DDR2 FB-DIMM" /* 0x14 */
2107+
"DDR2 FB-DIMM" /* 0x14 */
21082108
};
21092109

21102110
if(code>=0x01 && code<=0x14)
@@ -3684,7 +3684,7 @@ static void dmi_decode(struct dmi_header *h, u16 ver)
36843684
WORD(data+0x07));
36853685
if(WORD(data+0x09)!=0xFFFF)
36863686
printf("\tThreshold Handle: 0x%04X\n",
3687-
WORD(data+0x09));
3687+
WORD(data+0x09));
36883688
}
36893689
break;
36903690

util.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,6 @@ int write_dump(size_t base, size_t len, const void *data, const char *dumpfile)
202202
return 0;
203203

204204
err_close:
205-
fclose(f);
206-
return -1;
205+
fclose(f);
206+
return -1;
207207
}

0 commit comments

Comments
 (0)