summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
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