diff options
author | msmith <msmith@FreeBSD.org> | 1999-10-16 03:08:46 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1999-10-16 03:08:46 +0000 |
commit | 042c659c00baf041900355f7ac9b17e822b0de85 (patch) | |
tree | 59f72fd927de1c9fde8fdcb97e59fced928e9e23 /sys/dev/mlx/mlx.c | |
parent | 8a46b354b1e376b0d5aef375371b6748f8cb286f (diff) | |
download | FreeBSD-src-042c659c00baf041900355f7ac9b17e822b0de85.zip FreeBSD-src-042c659c00baf041900355f7ac9b17e822b0de85.tar.gz |
Fix mlx_diagnose_command so that it actually works. I can't believe this
has been broken since implemented.
Diffstat (limited to 'sys/dev/mlx/mlx.c')
-rw-r--r-- | sys/dev/mlx/mlx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mlx/mlx.c b/sys/dev/mlx/mlx.c index 84a36bb..6b4e30d 100644 --- a/sys/dev/mlx/mlx.c +++ b/sys/dev/mlx/mlx.c @@ -2324,7 +2324,7 @@ mlx_diagnose_command(struct mlx_command *mc) /* look up message in table */ for (i = 0; mlx_messages[i].command != -1; i++) if ((mc->mc_mailbox[0] == mlx_messages[i].command) && - (mc->mc_status == mlx_messages[i].command)) + (mc->mc_status == mlx_messages[i].status)) return(mlx_status_messages[mlx_messages[i].msg]); sprintf(unkmsg, "unknown response 0x%x for command 0x%x", (int)mc->mc_status, (int)mc->mc_mailbox[0]); |