Return errors for unsupported operations on pcic_get_res_flags rather

than 0.
This commit is contained in:
Warner Losh 2001-05-13 04:44:45 +00:00
parent 87c53da12e
commit 180c9afb62
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76544

View File

@ -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