thermal: fix warning in add thermal events tracing
[linux-3.10.git] / include / trace / events / thermal.h
index 1a01f7c..43a1921 100644 (file)
@@ -59,7 +59,7 @@ TRACE_EVENT(cooling_device_update,
                           __entry->target = target;
                           ),
 
-           TP_printk("%s -> %d", __entry->type, __entry->target)
+           TP_printk("%s -> %ld", __entry->type, __entry->target)
            );