aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mlx
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2004-03-01 21:45:49 +0000
committerScott Long <scottl@FreeBSD.org>2004-03-01 21:45:49 +0000
commita7700303063e392680bb91f0a6d2903106f3da23 (patch)
treefefcfaf1b389b11e7cfe3b4315184f9d8297cfad /sys/dev/mlx
parentd48819053113eae4700da9c7de228835c1273f95 (diff)
Notes
Diffstat (limited to 'sys/dev/mlx')
-rw-r--r--sys/dev/mlx/mlx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c
index ea537410e502..4862323a781f 100644
--- a/sys/dev/mlx/mlx.c
+++ b/sys/dev/mlx/mlx.c
@@ -1556,7 +1556,7 @@ mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)
/* we got an error, and we allocated a result */
if ((error != 0) && (result != NULL)) {
free(result, M_DEVBUF);
- mc->mc_data = NULL;
+ result = NULL;
}
return(result);
}