diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-07-12 18:51:04 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-07-12 18:51:04 +0000 |
commit | ffc267f0803a8b8c51aa5877d7f7a66aa89bbe4e (patch) | |
tree | ddc95c560e1b8342a8f1d2a7a8413c259d201d61 /sys/arch/sparc64 | |
parent | 468207d4c565d9369f1627113732aba596b2a0a3 (diff) |
Actually assign return value to the variable that's used to check it.
Pointed out by Maxime Villard.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/vdsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vdsp.c b/sys/arch/sparc64/dev/vdsp.c index 11a00be9ffc..4bb8201bd18 100644 --- a/sys/arch/sparc64/dev/vdsp.c +++ b/sys/arch/sparc64/dev/vdsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vdsp.c,v 1.18 2012/12/08 20:38:10 kettenis Exp $ */ +/* $OpenBSD: vdsp.c,v 1.19 2013/07/12 18:51:03 kettenis Exp $ */ /* * Copyright (c) 2009, 2011 Mark Kettenis * @@ -380,7 +380,7 @@ vdsp_tx_intr(void *arg) uint64_t tx_head, tx_tail, tx_state; int err; - hv_ldc_tx_get_state(lc->lc_id, &tx_head, &tx_tail, &tx_state); + err = hv_ldc_tx_get_state(lc->lc_id, &tx_head, &tx_tail, &tx_state); if (err != H_EOK) { printf("hv_ldc_rx_get_state %d\n", err); return (0); |