From ea74d8fc3c917d5b5c5c2c0e116a4b83d9239790 Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 13 May 2001 04:44:45 +0000 Subject: Return errors for unsupported operations on pcic_get_res_flags rather than 0. --- sys/pccard/pcic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/pccard/pcic.c') 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 -- cgit v1.1