diff --git a/samples/vboxwrapper/vbox.cpp b/samples/vboxwrapper/vbox.cpp index c0a36d8171..6a78e0be3b 100644 --- a/samples/vboxwrapper/vbox.cpp +++ b/samples/vboxwrapper/vbox.cpp @@ -720,8 +720,9 @@ int VBOX_VM::create_vm() { // fprintf( stderr, - "%s Adding virtual ISO 9660 disk drive to VM.\n", - vboxwrapper_msg_prefix(buf, sizeof(buf)) + "%s Adding virtual ISO 9660 disk drive to VM. (%s)\n", + vboxwrapper_msg_prefix(buf, sizeof(buf)), + iso_image_filename.c_str() ); command = "storageattach \"" + vm_name + "\" "; command += "--storagectl \"Hard Disk Controller\" "; @@ -740,7 +741,7 @@ int VBOX_VM::create_vm() { stderr, "%s Adding virtual cache disk drive to VM. (%s)\n", vboxwrapper_msg_prefix(buf, sizeof(buf)), - image_filename.c_str() + cache_disk_filename.c_str() ); command = "storageattach \"" + vm_name + "\" "; command += "--storagectl \"Hard Disk Controller\" ";