vsprintf: fix %ps on non symbols when using kallsyms
[deliverable/linux.git] / lib / vsprintf.c
index abbabec9720a1947ffa5364ae9aab9ec9696ecfe..f5dfe0ca34f60c25a1367da581dd0c842db1ff87 100644 (file)
@@ -436,7 +436,7 @@ char *symbol_string(char *buf, char *end, void *ptr,
        else if (ext != 'f' && ext != 's')
                sprint_symbol(sym, value);
        else
-               kallsyms_lookup(value, NULL, NULL, NULL, sym);
+               sprint_symbol_no_offset(sym, value);
 
        return string(buf, end, sym, spec);
 #else
This page took 0.038073 seconds and 5 git commands to generate.