summaryrefslogtreecommitdiffhomepage
path: root/mixlib/xmix_vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib/xmix_vm.c')
-rw-r--r--mixlib/xmix_vm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mixlib/xmix_vm.c b/mixlib/xmix_vm.c
index e614cb4..c810a71 100644
--- a/mixlib/xmix_vm.c
+++ b/mixlib/xmix_vm.c
@@ -52,7 +52,7 @@ get_dev_ (mix_vm_t *vm, mix_fspec_t type)
{
if (type >= BD_NO_) return NULL;
if (vm->devices[type] == NULL)
- vm->devices[type] = mix_device_new (type);
+ vm->devices[type] = vm->factory (type);
return vm->devices[type];
}