summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-10-23 06:43:47 +0200
committerLen Brown <len.brown@intel.com>2008-10-23 06:43:47 +0200
commiteb83f493ab9f8bd09fb7a99ae6ae565e92470491 (patch)
treedf1c5c9e57dda05c3e628307da42989d6f59b02e /drivers/misc
parentMerge branch 'linus' into test (diff)
downloadlinux-eb83f493ab9f8bd09fb7a99ae6ae565e92470491.tar.xz
linux-eb83f493ab9f8bd09fb7a99ae6ae565e92470491.zip
intel_menlo: fix build warning
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/intel_menlow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/intel_menlow.c b/drivers/misc/intel_menlow.c
index a78274385d54..e00a2756e97e 100644
--- a/drivers/misc/intel_menlow.c
+++ b/drivers/misc/intel_menlow.c
@@ -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,