MFC revision 1.24
date: 2005/07/30 15:53:40; author: csjp; state: Exp; lines: +2 -1 Add missing parenthesis around error handling code upon attaching mlx devices. This fixes an issue where mlx device drives fail to be detected at system boot. Approved by: re@ (scottl)
This commit is contained in:
parent
e1c2a59068
commit
f087bcb30a
@ -212,9 +212,10 @@ mlx_pci_attach(device_t dev)
|
||||
* Do bus-independant initialisation.
|
||||
*/
|
||||
error = mlx_attach(sc);
|
||||
if (error != 0)
|
||||
if (error != 0) {
|
||||
mlx_free(sc);
|
||||
return(error);
|
||||
}
|
||||
|
||||
/*
|
||||
* Start the controller.
|
||||
|
Loading…
Reference in New Issue
Block a user