intel_menlo: fix build warning
authorLen Brown <len.brown@intel.com>
Thu, 23 Oct 2008 04:43:47 +0000 (00:43 -0400)
committerLen Brown <len.brown@intel.com>
Thu, 23 Oct 2008 04:43:47 +0000 (00:43 -0400)
drivers/misc/intel_menlow.c:107: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘long long unsigned int’

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/intel_menlow.c

index a78274385d546f9b8c8cd74917a504f679e78452..e00a2756e97e110654387efec263855a0cd5aaa3 100644 (file)
@@ -104,7 +104,7 @@ static int memory_get_cur_bandwidth(struct thermal_cooling_device *cdev,
        if (ACPI_FAILURE(status))
                return -EFAULT;
 
-       return sprintf(buf, "%ld\n", value);
+       return sprintf(buf, "%llu\n", value);
 }
 
 static int memory_set_cur_bandwidth(struct thermal_cooling_device *cdev,