summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/pci.c')
-rw-r--r--src/emu/machine/pci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/machine/pci.c b/src/emu/machine/pci.c
index fa165a6ba33..e62b65db9e3 100644
--- a/src/emu/machine/pci.c
+++ b/src/emu/machine/pci.c
@@ -274,10 +274,10 @@ DEVICE_GET_INFO( pci_bus )
case DEVINFO_FCT_RESET: info->reset = DEVICE_RESET_NAME(pci_bus);break;
/* --- the following bits of info are returned as NULL-terminated strings --- */
- case DEVINFO_STR_NAME: info->s = "PCI Bus"; break;
- case DEVINFO_STR_FAMILY: info->s = "Peripherial Bus"; break;
- case DEVINFO_STR_VERSION: info->s = "1.0"; break;
- case DEVINFO_STR_SOURCE_FILE: info->s = __FILE__; break;
- case DEVINFO_STR_CREDITS: info->s = "Copyright Nicola Salmoria and the MAME Team"; break;
+ case DEVINFO_STR_NAME: strcpy(info->s, "PCI Bus"); break;
+ case DEVINFO_STR_FAMILY: strcpy(info->s, "Peripherial Bus"); break;
+ case DEVINFO_STR_VERSION: strcpy(info->s, "1.0"); break;
+ case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break;
+ case DEVINFO_STR_CREDITS: strcpy(info->s, "Copyright Nicola Salmoria and the MAME Team"); break;
}
}