summaryrefslogtreecommitdiff
path: root/libbcache/bkey_methods.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcache/bkey_methods.c')
-rw-r--r--libbcache/bkey_methods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcache/bkey_methods.c b/libbcache/bkey_methods.c
index 90f7e5f7..5ae97e30 100644
--- a/libbcache/bkey_methods.c
+++ b/libbcache/bkey_methods.c
@@ -80,7 +80,7 @@ void bkey_debugcheck(struct cache_set *c, struct btree *b, struct bkey_s_c k)
char buf[160];
bch_bkey_val_to_text(c, type, buf, sizeof(buf), k);
- cache_set_bug(c, "invalid bkey %s: %s", buf, invalid);
+ bch_fs_bug(c, "invalid bkey %s: %s", buf, invalid);
return;
}