Merge branch 'topic/soundcore-preclaim' into for-linus
[pandora-kernel.git] / kernel / trace / trace_printk.c
index 7b62781..687699d 100644 (file)
@@ -176,7 +176,7 @@ static int t_show(struct seq_file *m, void *v)
        const char *str = *fmt;
        int i;
 
-       seq_printf(m, "0x%lx : \"", (unsigned long)fmt);
+       seq_printf(m, "0x%lx : \"", *(unsigned long *)fmt);
 
        /*
         * Tabs and new lines need to be converted.