case VIR_DOMAIN_CONTROLLER_TYPE_ISA:
case VIR_DOMAIN_CONTROLLER_TYPE_LAST:
vboxReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("The vbox driver does not support %s controller type"),
+ _("The vbox driver does not support %1$s controller type"),
virDomainControllerTypeToString(controller->type));
return -1;
}
case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DC390:
case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_AM53C974:
vboxReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("The vbox driver does not support %s SCSI controller model"),
+ _("The vbox driver does not support %1$s SCSI controller model"),
virDomainControllerModelSCSITypeToString(controller->model));
goto cleanup;
case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_DEFAULT:
case VIR_DOMAIN_CONTROLLER_MODEL_SCSI_LAST:
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unexpected SCSI controller model %d"),
+ _("Unexpected SCSI controller model %1$d"),
controller->model);
goto cleanup;
}
case VIR_DOMAIN_CONTROLLER_MODEL_IDE_LAST:
case VIR_DOMAIN_CONTROLLER_MODEL_IDE_DEFAULT:
vboxReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("Unexpected IDE controller model %d"),
+ _("Unexpected IDE controller model %1$d"),
controller->model);
goto cleanup;
}
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Failed to add storage controller (name: %s, busType: %d)"),
+ _("Failed to add storage controller (name: %1$s, busType: %2$d)"),
debugName, vboxBusType);
goto cleanup;
}
* starts from 1, so refuse id == 0, and adjust the rest */
if (id == 0) {
vboxReportError(VIR_ERR_NO_DOMAIN,
- _("no domain with matching id %d"), id);
+ _("no domain with matching id %1$d"), id);
return NULL;
}
id = id - 1;
if (type != VIR_STORAGE_TYPE_FILE) {
vboxReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("Unsupported storage type %s, the only supported type is %s"),
+ _("Unsupported storage type %1$s, the only supported type is %2$s"),
virStorageTypeToString(type),
virStorageTypeToString(VIR_STORAGE_TYPE_FILE));
ret = -1;
case VIR_DOMAIN_DISK_DEVICE_LUN:
case VIR_DOMAIN_DISK_DEVICE_LAST:
vboxReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("The vbox driver does not support %s disk device"),
+ _("The vbox driver does not support %1$s disk device"),
virDomainDiskDeviceTypeToString(disk->device));
ret = -1;
goto cleanup;
case VIR_DOMAIN_DISK_BUS_NONE:
case VIR_DOMAIN_DISK_BUS_LAST:
vboxReportError(VIR_ERR_CONFIG_UNSUPPORTED,
- _("The vbox driver does not support %s bus type"),
+ _("The vbox driver does not support %1$s bus type"),
virDomainDiskBusTypeToString(disk->bus));
ret = -1;
goto cleanup;
if (!medium) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Failed to open the following disk/dvd/floppy to the machine: %s"),
+ _("Failed to open the following disk/dvd/floppy to the machine: %1$s"),
src);
ret = -1;
goto cleanup;
rc = gVBoxAPI.UIMedium.GetId(medium, &mediumUUID);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Can't get the UUID of the file to be attached as harddisk/dvd/floppy: %s"),
+ _("Can't get the UUID of the file to be attached as harddisk/dvd/floppy: %1$s"),
src);
ret = -1;
goto cleanup;
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Could not attach the file as harddisk/dvd/floppy: %s"),
+ _("Could not attach the file as harddisk/dvd/floppy: %1$s"),
src);
ret = -1;
goto cleanup;
VIR_DIV_UP(def->mem.cur_balloon, 1024));
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not set the memory size of the domain to: %llu Kb"),
+ _("could not set the memory size of the domain to: %1$llu Kb"),
def->mem.cur_balloon);
}
rc = gVBoxAPI.UIMachine.SetCPUCount(machine, virDomainDefGetVcpusMax(def));
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not set the number of virtual CPUs to: %u"),
+ _("could not set the number of virtual CPUs to: %1$u"),
virDomainDefGetVcpusMax(def));
}
VIR_TRISTATE_SWITCH_ON);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not change PAE status to: %s"),
+ _("could not change PAE status to: %1$s"),
(def->features[VIR_DOMAIN_FEATURE_PAE] == VIR_TRISTATE_SWITCH_ON)
? _("Enabled") : _("Disabled"));
}
VIR_TRISTATE_SWITCH_ON);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not change ACPI status to: %s"),
+ _("could not change ACPI status to: %1$s"),
(def->features[VIR_DOMAIN_FEATURE_ACPI] == VIR_TRISTATE_SWITCH_ON)
? _("Enabled") : _("Disabled"));
}
VIR_TRISTATE_SWITCH_ON);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not change APIC status to: %s"),
+ _("could not change APIC status to: %1$s"),
(def->features[VIR_DOMAIN_FEATURE_APIC] == VIR_TRISTATE_SWITCH_ON)
? _("Enabled") : _("Disabled"));
}
ret = 0;
} else {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not set the memory size of the domain to: %lu Kb"),
+ _("could not set the memory size of the domain to: %1$lu Kb"),
memory);
}
}
return ret;
if (flags != VIR_DOMAIN_AFFECT_LIVE) {
- vboxReportError(VIR_ERR_INVALID_ARG, _("unsupported flags: (0x%x)"), flags);
+ vboxReportError(VIR_ERR_INVALID_ARG, _("unsupported flags: (0x%1$x)"), flags);
return -1;
}
ret = 0;
} else {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not set the number of cpus of the domain to: %u"),
+ _("could not set the number of cpus of the domain to: %1$u"),
CPUCount);
}
VBOX_RELEASE(machine);
} else {
vboxReportError(VIR_ERR_NO_DOMAIN,
- _("no domain with matching id %d"), dom->id);
+ _("no domain with matching id %1$d"), dom->id);
}
} else {
vboxReportError(VIR_ERR_NO_DOMAIN,
- _("can't open session to the domain with id %d"), dom->id);
+ _("can't open session to the domain with id %1$d"), dom->id);
}
gVBoxAPI.UISession.Close(data->vboxSession);
return ret;
if (flags != (VIR_DOMAIN_AFFECT_LIVE | VIR_DOMAIN_VCPU_MAXIMUM)) {
- vboxReportError(VIR_ERR_INVALID_ARG, _("unsupported flags: (0x%x)"), flags);
+ vboxReportError(VIR_ERR_INVALID_ARG, _("unsupported flags: (0x%1$x)"), flags);
return -1;
}
cont = virDomainDefAddController(def, type, -1, model);
if (!cont) {
virReportError(VIR_ERR_INTERNAL_ERROR,
- _("Failed to add %s controller type definition"),
+ _("Failed to add %1$s controller type definition"),
virDomainControllerTypeToString(type));
goto cleanup;
}
if (!disk->dst) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Could not generate medium name for the disk at: port:%d, slot:%d"),
+ _("Could not generate medium name for the disk at: port:%1$d, slot:%2$d"),
devicePort, deviceSlot);
goto cleanup;
}
case DeviceType_SharedFolder:
case DeviceType_Null:
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unsupported vbox device type: %d"), deviceType);
+ _("Unsupported vbox device type: %1$d"), deviceType);
goto cleanup;
}
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not attach shared folder '%s'"),
+ _("could not attach shared folder '%1$s'"),
dev->data.fs->dst);
ret = -1;
} else {
VBOX_RELEASE(machine);
if (ret == -VIR_ERR_ARGUMENT_UNSUPPORTED) {
- vboxReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, _("Unsupported device type %d"), dev->type);
+ vboxReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, _("Unsupported device type %1$d"), dev->type);
ret = -1;
}
}
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not detach shared folder '%s'"),
+ _("could not detach shared folder '%1$s'"),
dev->data.fs->dst);
} else {
ret = 0;
VBOX_RELEASE(machine);
if (ret == -VIR_ERR_ARGUMENT_UNSUPPORTED) {
- vboxReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, _("Unsupported device type %d"), dev->type);
+ vboxReportError(VIR_ERR_ARGUMENT_UNSUPPORTED, _("Unsupported device type %1$d"), dev->type);
ret = -1;
}
}
*/
if (unlink(currentSnapshotXmlFilePath) < 0) {
virReportSystemError(errno,
- _("Unable to delete file %s"), currentSnapshotXmlFilePath);
+ _("Unable to delete file %1$s"), currentSnapshotXmlFilePath);
goto cleanup;
}
}
gVBoxAPI.UIProgress.GetResultCode(progress, &resultCode);
if (RC_FAILED(resultCode)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Error while closing medium, rc=%08x"),
+ _("Error while closing medium, rc=%1$08x"),
resultCode.uResultCode);
VIR_FREE(locationUtf8);
goto cleanup;
&searchResultTab);
if (resultSize != it + 1) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unable to find UUID %s"), searchResultTab[it]);
+ _("Unable to find UUID %1$s"), searchResultTab[it]);
goto cleanup;
}
gVBoxAPI.UIProgress.GetResultCode(progress, &resultCode);
if (RC_FAILED(resultCode)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Error while creating diff storage, rc=%08x"),
+ _("Error while creating diff storage, rc=%1$08x"),
resultCode.uResultCode);
goto cleanup;
}
&searchResultTab);
if (resultSize != it + 1) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unable to find UUID %s"), searchResultTab[it]);
+ _("Unable to find UUID %1$s"), searchResultTab[it]);
goto cleanup;
}
rc = gVBoxAPI.UISession.GetConsole(data->vboxSession, &console);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not open VirtualBox session with domain %s"),
+ _("could not open VirtualBox session with domain %1$s"),
dom->name);
goto cleanup;
}
rc = gVBoxAPI.UIConsole.TakeSnapshot(console, name, description, &progress);
if (NS_FAILED(rc) || !progress) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not take snapshot of domain %s"), dom->name);
+ _("could not take snapshot of domain %1$s"), dom->name);
goto cleanup;
}
gVBoxAPI.UIProgress.GetResultCode(progress, &result);
if (RC_FAILED(result)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not take snapshot of domain %s"), dom->name);
+ _("could not take snapshot of domain %1$s"), dom->name);
goto cleanup;
}
rc = gVBoxAPI.UIMachine.GetCurrentSnapshot(machine, &snapshot);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get current snapshot of domain %s"),
+ _("could not get current snapshot of domain %1$s"),
dom->name);
goto cleanup;
}
rc = gVBoxAPI.UIMachine.GetSnapshotCount(machine, &count);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get snapshot count for domain %s"),
+ _("could not get snapshot count for domain %1$s"),
dom->name);
goto error;
}
rc = gVBoxAPI.UIMachine.FindSnapshot(machine, &empty, list);
if (NS_FAILED(rc) || !list[0]) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get root snapshot for domain %s"),
+ _("could not get root snapshot for domain %1$s"),
dom->name);
goto error;
}
if (!list[next]) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("unexpected number of snapshots < %u"), count);
+ _("unexpected number of snapshots < %1$u"), count);
goto error;
}
continue;
if (top == count) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("unexpected number of snapshots > %u"), count);
+ _("unexpected number of snapshots > %1$u"), count);
gVBoxAPI.UArray.vboxArrayRelease(&children);
goto error;
}
if (!snapshot) {
vboxReportError(VIR_ERR_OPERATION_INVALID,
- _("domain %s has no snapshots with name %s"),
+ _("domain %1$s has no snapshots with name %2$s"),
dom->name, name);
goto cleanup;
}
sdCount);
if (!defdom->disks[diskCount]->dst) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Could not generate medium name for the disk at: port:%d, slot:%d"), devicePort, deviceSlot);
+ _("Could not generate medium name for the disk at: port:%1$d, slot:%2$d"), devicePort, deviceSlot);
ret = -1;
goto cleanup;
}
rc = gVBoxAPI.UISnapshot.GetDescription(snap, &str16);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get description of snapshot %s"),
+ _("could not get description of snapshot %1$s"),
snapshot->name);
goto cleanup;
}
rc = gVBoxAPI.UISnapshot.GetTimeStamp(snap, ×tamp);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get creation time of snapshot %s"),
+ _("could not get creation time of snapshot %1$s"),
snapshot->name);
goto cleanup;
}
rc = gVBoxAPI.UISnapshot.GetParent(snap, &parent);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get parent of snapshot %s"),
+ _("could not get parent of snapshot %1$s"),
snapshot->name);
goto cleanup;
}
rc = gVBoxAPI.UISnapshot.GetName(parent, &str16);
if (NS_FAILED(rc) || !str16) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get name of parent of snapshot %s"),
+ _("could not get name of parent of snapshot %1$s"),
snapshot->name);
goto cleanup;
}
rc = gVBoxAPI.UISnapshot.GetOnline(snap, &online);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get online state of snapshot %s"),
+ _("could not get online state of snapshot %1$s"),
snapshot->name);
goto cleanup;
}
rc = gVBoxAPI.UIMachine.GetSnapshotCount(machine, &snapshotCount);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get snapshot count for domain %s"),
+ _("could not get snapshot count for domain %1$s"),
dom->name);
goto cleanup;
}
rc = gVBoxAPI.UIMachine.FindSnapshot(machine, &empty, snapshots);
if (NS_FAILED(rc) || !snapshots[0]) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get root snapshot for domain %s"),
+ _("could not get root snapshot for domain %1$s"),
dom->name);
goto cleanup;
}
rc = gVBoxAPI.UISnapshot.GetParent(snap, &parent);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get parent of snapshot %s"),
+ _("could not get parent of snapshot %1$s"),
snapshot->name);
goto cleanup;
}
if (!parent) {
vboxReportError(VIR_ERR_NO_DOMAIN_SNAPSHOT,
- _("snapshot '%s' does not have a parent"),
+ _("snapshot '%1$s' does not have a parent"),
snapshot->name);
goto cleanup;
}
rc = gVBoxAPI.UISnapshot.GetName(parent, &nameUtf16);
if (NS_FAILED(rc) || !nameUtf16) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get name of parent of snapshot %s"),
+ _("could not get name of parent of snapshot %1$s"),
snapshot->name);
goto cleanup;
}
rc = gVBoxAPI.UISnapshot.GetOnline(newSnapshot, &online);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get online state of snapshot %s"),
+ _("could not get online state of snapshot %1$s"),
snapshot->name);
goto cleanup;
}
rc = gVBoxAPI.UIMachine.GetCurrentSnapshot(machine, &prevSnapshot);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not get current snapshot of domain %s"),
+ _("could not get current snapshot of domain %1$s"),
dom->name);
goto cleanup;
}
gVBoxAPI.UIProgress.GetResultCode(progress, &resultCode);
if (RC_FAILED(resultCode)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Error while creating diff storage, rc=%08x"),
+ _("Error while creating diff storage, rc=%1$08x"),
resultCode.uResultCode);
goto cleanup;
}
&searchResultTab);
if (resultSize != it + 1) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unable to find UUID %s"), searchResultTab[it]);
+ _("Unable to find UUID %1$s"), searchResultTab[it]);
goto cleanup;
}
def->parent.dom->disks[it]->src->path);
if (!uuidRO) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("No such disk in media registry %s"),
+ _("No such disk in media registry %1$s"),
def->parent.dom->disks[it]->src->path);
goto cleanup;
}
&searchResultTab);
if (resultSize != it + 1) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unable to find UUID %s"),
+ _("Unable to find UUID %1$s"),
searchResultTab[it]);
goto cleanup;
}
def->disks[it].src->path);
if (!uuidRW) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unable to find UUID for location %s"), def->disks[it].src->path);
+ _("Unable to find UUID for location %1$s"), def->disks[it].src->path);
goto cleanup;
}
if (virVBoxSnapshotConfRemoveHardDisk(snapshotMachineDesc->mediaRegistry, uuidRW) < 0) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unable to remove disk from media registry. uuid = %s"), uuidRW);
+ _("Unable to remove disk from media registry. uuid = %1$s"), uuidRW);
goto cleanup;
}
}
def->parent.dom->disks[it]->src->path);
if (!uuidRO) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unable to find UUID for location %s"), def->parent.dom->disks[it]->src->path);
+ _("Unable to find UUID for location %1$s"), def->parent.dom->disks[it]->src->path);
goto cleanup;
}
if (virVBoxSnapshotConfRemoveHardDisk(snapshotMachineDesc->mediaRegistry, uuidRO) < 0) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unable to remove disk from media registry. uuid = %s"), uuidRO);
+ _("Unable to remove disk from media registry. uuid = %1$s"), uuidRO);
goto cleanup;
}
}
gVBoxAPI.UIProgress.GetResultCode(progress, &resultCode);
if (RC_FAILED(resultCode)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Error while closing medium, rc=%08x"),
+ _("Error while closing medium, rc=%1$08x"),
resultCode.uResultCode);
goto cleanup;
}
/* removing the snapshot */
if (virVBoxSnapshotConfRemoveSnapshot(snapshotMachineDesc, def->parent.name) < 0) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("Unable to remove snapshot %s"), def->parent.name);
+ _("Unable to remove snapshot %1$s"), def->parent.name);
goto cleanup;
}
rc = gVBoxAPI.UISession.GetConsole(data->vboxSession, &console);
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("could not open VirtualBox session with domain %s"),
+ _("could not open VirtualBox session with domain %1$s"),
dom->name);
goto cleanup;
}
if (screen >= max_screen) {
vboxReportError(VIR_ERR_INVALID_ARG,
- _("screen ID higher than monitor count (%d)"), max_screen);
+ _("screen ID higher than monitor count (%1$d)"), max_screen);
VBOX_RELEASE(machine);
return NULL;
}
tmp = g_strdup_printf("%s/vbox.screendump.XXXXXX", cacheDir);
if ((tmp_fd = g_mkstemp_full(tmp, O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR)) == -1) {
- virReportSystemError(errno, _("g_mkstemp(\"%s\") failed"), tmp);
+ virReportSystemError(errno, _("g_mkstemp(\"%1$s\") failed"), tmp);
VBOX_RELEASE(machine);
return NULL;
}
if (safewrite(tmp_fd, (char *) screenData,
screenDataSize) < 0) {
- virReportSystemError(errno, _("unable to write data "
- "to '%s'"), tmp);
+ virReportSystemError(errno, _("unable to write data to '%1$s'"), tmp);
goto endjob;
}
if (VIR_CLOSE(tmp_fd) < 0) {
- virReportSystemError(errno, _("unable to close %s"), tmp);
+ virReportSystemError(errno, _("unable to close %1$s"), tmp);
goto endjob;
}
keyDownCodes[i]);
if (keycode < 0) {
vboxReportError(VIR_ERR_INTERNAL_ERROR,
- _("cannot translate keycode %u of %s codeset to xt keycode"),
+ _("cannot translate keycode %1$u of %2$s codeset to xt keycode"),
keyDownCodes[i],
virKeycodeSetTypeToString(codeset));
goto cleanup;
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_OPERATION_FAILED,
- _("Unable to open VirtualBox session with domain %s"),
+ _("Unable to open VirtualBox session with domain %1$s"),
dom->name);
goto cleanup;
}
if (NS_FAILED(rc) || !console) {
vboxReportError(VIR_ERR_OPERATION_FAILED,
- _("Unable to get Console object for domain %s"),
+ _("Unable to get Console object for domain %1$s"),
dom->name);
goto cleanup;
}
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_OPERATION_FAILED,
- _("Unable to get Keyboard object for domain %s"),
+ _("Unable to get Keyboard object for domain %1$s"),
dom->name);
goto cleanup;
}
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_OPERATION_FAILED,
- _("Unable to send keyboard scancodes for domain %s"),
+ _("Unable to send keyboard scancodes for domain %1$s"),
dom->name);
goto cleanup;
}
if (NS_FAILED(rc)) {
vboxReportError(VIR_ERR_OPERATION_FAILED,
- _("Unable to send keyboard scan codes to domain %s"),
+ _("Unable to send keyboard scan codes to domain %1$s"),
dom->name);
goto cleanup;
}