bcachefs: Add a missing bch2_err_str() call
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 23 Dec 2022 01:51:02 +0000 (20:51 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:48 +0000 (17:09 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/recovery.c

index 976c336f294afe51e940635a07de3774271f9a0e..55819378fd4ac2d2f5d409da63101f6ed303dedf 100644 (file)
@@ -1564,6 +1564,6 @@ int bch2_fs_initialize(struct bch_fs *c)
 
        return 0;
 err:
-       pr_err("Error initializing new filesystem: %s (%i)", err, ret);
+       pr_err("Error initializing new filesystem: %s (%s)", err, bch2_err_str(ret));
        return ret;
 }