Don't zero 'Info' after setting it up in the ASR_IOCTL_COMPAT case.
MFC after: 2 days
This commit is contained in:
parent
d8f878a1c5
commit
86e38263d2
@ -3708,9 +3708,9 @@ asr_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, struct thread *t
|
||||
Info.drive1CMOS = j;
|
||||
|
||||
Info.numDrives = *((char *)ptok(0x475));
|
||||
#endif /* ASR_IOCTL_COMPAT */
|
||||
|
||||
#else /* ASR_IOCTL_COMPAT */
|
||||
bzero(&Info, sizeof(Info));
|
||||
#endif /* ASR_IOCTL_COMPAT */
|
||||
|
||||
Info.processorFamily = ASR_sig.dsProcessorFamily;
|
||||
#if defined(__i386__)
|
||||
|
Loading…
Reference in New Issue
Block a user