diff options
author | Jean Delvare <jdelvare@suse.de> | 2008-02-16 18:19:14 +0000 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2008-02-16 18:19:14 +0000 |
commit | 71c4e028b9898ac645013e38cdcb35b4bd5821de (patch) | |
tree | 1d87934058aa733eca103e0e29e456d9dd9aaf10 | |
parent | c9209be08ab558a9817a71caf15a0e2163d419c4 (diff) | |
download | dmidecode-git-71c4e028b9898ac645013e38cdcb35b4bd5821de.tar.gz |
Whitespace cleanups.
-rw-r--r-- | dmidecode.c | 14 | ||||
-rw-r--r-- | util.c | 4 |
2 files changed, 9 insertions, 9 deletions
diff --git a/dmidecode.c b/dmidecode.c index 56c6b34..5a08b08 100644 --- a/dmidecode.c +++ b/dmidecode.c @@ -442,7 +442,7 @@ const char *dmi_chassis_type(u8 code) "Rack Mount Chassis", "Sealed-case PC", "Multi-system", - "CompactPCI", + "CompactPCI", "AdvancedTCA" /* 0x1B */ }; @@ -1036,7 +1036,7 @@ static const char *dmi_processor_upgrade(u8 code) "Socket 754", "Socket 940", "Socket 939", - "Socket mPGA604", + "Socket mPGA604", "Socket LGA771", "Socket LGA775" /* 0x15 */ }; @@ -1429,7 +1429,7 @@ static const char *dmi_port_connector_type(u8 code) "Mini Jack (headphones)", "BNC", "IEEE 1394", - "SAS/SATA Plug Receptacle" /* 0x22 */ + "SAS/SATA Plug Receptacle" /* 0x22 */ }; static const char *type_0xA0[]={ "PC-98", /* 0xA0 */ @@ -1484,7 +1484,7 @@ static const char *dmi_port_type(u8 code) "Audio Port", "Modem Port", "Network Port", - "SATA", + "SATA", "SAS" /* 0x21 */ }; static const char *type_0xA0[]={ @@ -2063,7 +2063,7 @@ static const char *dmi_memory_device_form_factor(u8 code) "RIMM", "SODIMM", "SRIMM", - "FB-DIMM" /* 0x0F */ + "FB-DIMM" /* 0x0F */ }; if(code>=0x01 && code<=0x0F) @@ -2104,7 +2104,7 @@ static const char *dmi_memory_device_type(u8 code) "RDRAM", "DDR", "DDR2", - "DDR2 FB-DIMM" /* 0x14 */ + "DDR2 FB-DIMM" /* 0x14 */ }; if(code>=0x01 && code<=0x14) @@ -3684,7 +3684,7 @@ static void dmi_decode(struct dmi_header *h, u16 ver) WORD(data+0x07)); if(WORD(data+0x09)!=0xFFFF) printf("\tThreshold Handle: 0x%04X\n", - WORD(data+0x09)); + WORD(data+0x09)); } break; @@ -202,6 +202,6 @@ int write_dump(size_t base, size_t len, const void *data, const char *dumpfile) return 0; err_close: - fclose(f); - return -1; + fclose(f); + return -1; } |