summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2001-05-13 04:44:45 +0000
committerimp <imp@FreeBSD.org>2001-05-13 04:44:45 +0000
commitea74d8fc3c917d5b5c5c2c0e116a4b83d9239790 (patch)
tree0acd82770ef1c01465a3d39752e90f546b35c293 /sys/pccard/pcic.c
parent3b25f438bd5d78114f597da97353be9488f4ecd2 (diff)
downloadFreeBSD-src-ea74d8fc3c917d5b5c5c2c0e116a4b83d9239790.zip
FreeBSD-src-ea74d8fc3c917d5b5c5c2c0e116a4b83d9239790.tar.gz
Return errors for unsupported operations on pcic_get_res_flags rather
than 0.
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 973c969..9b319c7 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -1303,7 +1303,7 @@ pcic_get_res_flags(device_t bus, device_t child, int restype, int rid,
default:
err = EOPNOTSUPP;
}
- return (0);
+ return (err);
}
static int
OpenPOWER on IntegriCloud