In afd_describe(), don't initialize sizestring. On ia64, gcc(1) will
generate code that calls memset, which we don't have in the kernel. MFC after: 3 days
This commit is contained in:
parent
c52b7e783b
commit
819c015bdb
@ -398,7 +398,7 @@ afd_describe(device_t dev)
|
||||
struct ata_channel *ch = device_get_softc(device_get_parent(dev));
|
||||
struct ata_device *atadev = device_get_softc(dev);
|
||||
struct afd_softc *fdp = device_get_ivars(dev);
|
||||
char sizestring[16] = "";
|
||||
char sizestring[16];
|
||||
|
||||
if (fdp->mediasize > 1048576 * 5)
|
||||
sprintf(sizestring, "%juMB", fdp->mediasize / 1048576);
|
||||
|
Loading…
Reference in New Issue
Block a user