summaryrefslogtreecommitdiff
path: root/sys/dev/mlx
diff options
context:
space:
mode:
authorChristian S.J. Peron <csjp@FreeBSD.org>2005-07-30 15:53:40 +0000
committerChristian S.J. Peron <csjp@FreeBSD.org>2005-07-30 15:53:40 +0000
commit648fd2bd0b293dbf149103260b1d7296cbf653bd (patch)
treedaae863bd16790650f6c210669fece969fedfd6f /sys/dev/mlx
parentacc79971c211f7b6f73b8e172d031900f7e860c5 (diff)
Notes
Diffstat (limited to 'sys/dev/mlx')
-rw-r--r--sys/dev/mlx/mlx_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mlx/mlx_pci.c b/sys/dev/mlx/mlx_pci.c
index 732fed8697e3..b39a6b87d092 100644
--- a/sys/dev/mlx/mlx_pci.c
+++ b/sys/dev/mlx/mlx_pci.c
@@ -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.