summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx
diff options
context:
space:
mode:
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 31f4d09..2f2144a 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");
OpenPOWER on IntegriCloud