summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/imagedev/harddriv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/imagedev/harddriv.c')
-rw-r--r--src/emu/imagedev/harddriv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/imagedev/harddriv.c b/src/emu/imagedev/harddriv.c
index 780317e9193..a34658600e7 100644
--- a/src/emu/imagedev/harddriv.c
+++ b/src/emu/imagedev/harddriv.c
@@ -176,7 +176,7 @@ void harddisk_image_device::call_unload()
static chd_error open_disk_diff(emu_options &options, const char *name, chd_file &source, chd_file &diff_chd)
{
- astring fname(name, ".dif");
+ astring fname = astring(name).cat(".dif");
/* try to open the diff */
//printf("Opening differencing image file: %s\n", fname.c_str());