diff options
Diffstat (limited to 'src/hw/lsi-scsi.c')
-rw-r--r-- | src/hw/lsi-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/lsi-scsi.c b/src/hw/lsi-scsi.c index 564c9f1..fd695fa 100644 --- a/src/hw/lsi-scsi.c +++ b/src/hw/lsi-scsi.c @@ -147,7 +147,7 @@ lsi_scsi_add_lun(struct pci_device *pci, u32 iobase, u8 target, u8 lun) llun->lun = lun; llun->iobase = iobase; - char *name = znprintf(16, "lsi %pP %d:%d", pci, target, lun); + char *name = znprintf(MAXDESCSIZE, "lsi %pP %d:%d", pci, target, lun); int prio = bootprio_find_scsi_device(pci, target, lun); int ret = scsi_drive_setup(&llun->drive, name, prio); free(name); |