summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-03-01 21:45:49 +0000
committerscottl <scottl@FreeBSD.org>2004-03-01 21:45:49 +0000
commit08eaf5dabb95cdfa6569427975c2ac2da4e25e68 (patch)
treefefcfaf1b389b11e7cfe3b4315184f9d8297cfad /sys/dev/mlx
parentd3341e79a8351616fbe760d76f1edc14fbade16d (diff)
downloadFreeBSD-src-08eaf5dabb95cdfa6569427975c2ac2da4e25e68.zip
FreeBSD-src-08eaf5dabb95cdfa6569427975c2ac2da4e25e68.tar.gz
Change another pointer name that was missed in the previous commit.
Spotted by: njl
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 ea53741..4862323 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);
}
OpenPOWER on IntegriCloud