diff options
author | Pierre-Alexandre Meyer <pierre@mouraf.org> | 2009-10-31 19:46:21 -0700 |
---|---|---|
committer | Erwan Velu <erwan.velu@free.fr> | 2009-11-01 11:48:08 +0100 |
commit | 01d211fe77cfdbf38084966f63559fda81f743d3 (patch) | |
tree | 86d989cdc48f1335590d38f925390047a1f5dd32 /com32/gpllib/dmi | |
parent | a4dfd18e7d3cfc907053d10b57ba206b62a5e830 (diff) | |
download | syslinux-01d211fe77cfdbf38084966f63559fda81f743d3.tar.gz |
dmi: fix a strcpy (typo)
Not sure why sprintf is being called here. It's probably strcpy that was meant.
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/gpllib/dmi')
-rw-r--r-- | com32/gpllib/dmi/dmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/gpllib/dmi/dmi.c b/com32/gpllib/dmi/dmi.c index a72ef2ed..24d76702 100644 --- a/com32/gpllib/dmi/dmi.c +++ b/com32/gpllib/dmi/dmi.c @@ -650,7 +650,7 @@ void dmi_decode(struct dmi_header *h, uint16_t ver, s_dmi * dmi) strcpy(dmi->processor.status,dmi_processor_status(data[0x18]&0x07)); else sprintf(dmi->processor.status,"Unpopulated"); - sprintf(dmi->processor.upgrade,dmi_processor_upgrade(data[0x19])); + strcpy(dmi->processor.upgrade,dmi_processor_upgrade(data[0x19])); if(h->length<0x20) break; dmi_processor_cache(WORD(data+0x1A), "L1", ver,dmi->processor.cache1); dmi_processor_cache(WORD(data+0x1C), "L2", ver,dmi->processor.cache2); |