Skip to content

Commit

Permalink
intel_menlo: fix build warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
lenb committed Oct 23, 2008
1 parent 057316c commit eb83f49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/misc/intel_menlow.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit eb83f49

Please sign in to comment.