From: Len Brown Date: Thu, 23 Oct 2008 04:43:47 +0000 (-0400) Subject: intel_menlo: fix build warning X-Git-Tag: v2.6.28-rc1~26^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=eb83f493ab9f8bd09fb7a99ae6ae565e92470491;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/drivers/misc/intel_menlow.c b/drivers/misc/intel_menlow.c index a78274385d5..e00a2756e97 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,