diff options
-rw-r--r-- | lib/smbios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smbios.c b/lib/smbios.c index df3d26b..40c9219 100644 --- a/lib/smbios.c +++ b/lib/smbios.c @@ -116,7 +116,7 @@ static int smbios_write_type1(ulong *current, int handle) t->manufacturer = smbios_add_string(t->eos, CONFIG_SMBIOS_MANUFACTURER); t->product_name = smbios_add_string(t->eos, CONFIG_SMBIOS_PRODUCT_NAME); if (serial_str) { - strncpy((char*)t->uuid, serial_str, sizeof(t->uuid)); + strncpy((char *)t->uuid, serial_str, sizeof(t->uuid)); t->serial_number = smbios_add_string(t->eos, serial_str); } |