summaryrefslogtreecommitdiff
path: root/libmodprobe/libmodprobe_ext_test.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2020-06-15 11:51:59 -0700
committerMark Salyzyn <salyzyn@google.com>2020-06-18 09:46:37 -0700
commit502cb7af753d065886be22f5c30a258cd1b82ff4 (patch)
tree1fc6aa48991ddb3380cf3c990c7f1b80383d507b /libmodprobe/libmodprobe_ext_test.cpp
parent17fcd95f6461994b04c7f2efb3c2d6b1446789d0 (diff)
modprobe: Use more inclusive language for modprobe and libmodprobe
blacklist is replaced with blocklist. Test: none Bug: 151950334 Merged-In: I59f9fde5900b9aee82aca1eab4a6ded3d136063b Change-Id: I59f9fde5900b9aee82aca1eab4a6ded3d136063b
Diffstat (limited to 'libmodprobe/libmodprobe_ext_test.cpp')
-rw-r--r--libmodprobe/libmodprobe_ext_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmodprobe/libmodprobe_ext_test.cpp b/libmodprobe/libmodprobe_ext_test.cpp
index 9ee5ba7ab..e79bfaf84 100644
--- a/libmodprobe/libmodprobe_ext_test.cpp
+++ b/libmodprobe/libmodprobe_ext_test.cpp
@@ -72,7 +72,7 @@ bool Modprobe::Rmmod(const std::string& module_name) {
bool Modprobe::ModuleExists(const std::string& module_name) {
auto deps = GetDependencies(module_name);
- if (blacklist_enabled && module_blacklist_.count(module_name)) {
+ if (blocklist_enabled && module_blocklist_.count(module_name)) {
return false;
}
if (deps.empty()) {