summaryrefslogtreecommitdiff
path: root/sys/dev/mlx
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2005-03-31 21:53:21 +0000
committerSam Leffler <sam@FreeBSD.org>2005-03-31 21:53:21 +0000
commit001ea8fba8270bc8afc2bf934938b148520a621f (patch)
tree5af162668854549496eac38fed1d308742dc7989 /sys/dev/mlx
parentaadbcea37911c72be3fd0fcf96614394c6fc1a1a (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 31f4d09c7967..2f2144acc759 100644
--- a/sys/dev/mlx/mlx.c
+++ b/sys/dev/mlx/mlx.c
@@ -1974,7 +1974,7 @@ mlx_user_command(struct mlx_softc *sc, struct mlx_usercommand *mu)
/* get ourselves a command and copy in from user space */
if ((mc = mlx_alloccmd(sc)) == NULL)
- goto out;
+ return(error);
bcopy(mu->mu_command, mc->mc_mailbox, sizeof(mc->mc_mailbox));
debug(0, "got command buffer");