From 590b91cf3fa419eefc917f4e37152af616c3ba5f Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Mon, 7 Mar 2022 14:13:22 -0500 Subject: bcachefs: Revert UUID format-specifier change "bcachefs: Log & error message improvements" accidentally changed the format specifier we use for converting UUIDs to strings, which broke mounting of encrypted filesystems - this patch reverts that change. Signed-off-by: Kent Overstreet --- fs/bcachefs/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/bcachefs/util.h') diff --git a/fs/bcachefs/util.h b/fs/bcachefs/util.h index ba0c4d29c038..465ba030133b 100644 --- a/fs/bcachefs/util.h +++ b/fs/bcachefs/util.h @@ -372,7 +372,7 @@ static inline void pr_time(struct printbuf *out, u64 _time) #ifdef __KERNEL__ static inline void uuid_unparse_lower(u8 *uuid, char *out) { - sprintf(out, "%plU", uuid); + sprintf(out, "%pUb", uuid); } #else #include -- cgit