summaryrefslogtreecommitdiffstats
path: root/isys/vio.c
diff options
context:
space:
mode:
Diffstat (limited to 'isys/vio.c')
-rw-r--r--isys/vio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/vio.c b/isys/vio.c
index a39cf13f2..bad6ac708 100644
--- a/isys/vio.c
+++ b/isys/vio.c
@@ -77,7 +77,7 @@ int vioGetCdDevs(struct knownDevices * devices) {
model = alloca((20 + strlen(chptr)) * sizeof(char *));
sprintf(model, "IBM Virtual CD-ROM Model %s", chptr);
- snprintf(ctl, 63, "iseries/vcd%d", ctlNum);
+ snprintf(ctl, 63, "iseries/vcd%c", ctlNum + 'a');
if (!deviceKnown(devices, ctl)) {
newDevice.name = strdup(ctl);