diff options
Diffstat (limited to 'src/hw/pvscsi.c')
-rw-r--r-- | src/hw/pvscsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/pvscsi.c b/src/hw/pvscsi.c index e1685b3..a9d118b 100644 --- a/src/hw/pvscsi.c +++ b/src/hw/pvscsi.c @@ -272,7 +272,7 @@ pvscsi_add_lun(struct pci_device *pci, void *iobase, plun->iobase = iobase; plun->ring_dsc = ring_dsc; - char *name = znprintf(16, "pvscsi %pP %d:%d", pci, target, lun); + char *name = znprintf(MAXDESCSIZE, "pvscsi %pP %d:%d", pci, target, lun); int prio = bootprio_find_scsi_device(pci, target, lun); int ret = scsi_drive_setup(&plun->drive, name, prio); free(name); |