X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=lib%2Fvsprintf.c;h=b0967cf17137db183714a135f2a35fc9a951c4d7;hb=7011b7e1b702cc76f9e969b41d9a95969f2aecaa;hp=25b8f4f040c059ceea0ee44cdde770299d109514;hpb=b314dd49a28a38997aa8f472d02f0631a830d37a;p=linux-2.6-microblaze.git diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 25b8f4f040c0..b0967cf17137 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * linux/lib/vsprintf.c * @@ -1798,7 +1799,7 @@ char *clock(char *buf, char *end, struct clk *clk, struct printf_spec spec, #ifdef CONFIG_COMMON_CLK return string(buf, end, __clk_get_name(clk), spec); #else - return error_string(buf, end, "(%pC?)", spec); + return ptr_to_id(buf, end, clk, spec); #endif } }