diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-13 20:04:21 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-13 20:07:22 -0500 |
commit | c1e4d447f6dd0ee60495b651436d2055db7777ed (patch) | |
tree | 36a657f7018cecc6bad43e0e178ef1913154eba0 /linux/printbuf_userspace.c | |
parent | 980f7437e2588d100456640cb863908a3cc6fc77 (diff) |
Update bcachefs sources to 8d3fc97ca3 bcachefs: Fixes for building in userspace
Diffstat (limited to 'linux/printbuf_userspace.c')
-rw-r--r-- | linux/printbuf_userspace.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/printbuf_userspace.c b/linux/printbuf_userspace.c index df9567c5..0ae56ee1 100644 --- a/linux/printbuf_userspace.c +++ b/linux/printbuf_userspace.c @@ -27,3 +27,8 @@ void prt_printf(struct printbuf *out, const char *fmt, ...) prt_vprintf(out, fmt, args); va_end(args); } + +void prt_u64(struct printbuf *out, u64 v) +{ + prt_printf(out, "%llu", v); +} |