firewire: fw-device printk fix

You don't know what type is used to implement u64.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
This commit is contained in:
Andrew Morton 2007-04-26 00:16:04 -07:00 committed by Stefan Richter
parent dde2b95430
commit 3e1dcb00d5
1 changed files with 2 additions and 1 deletions

View File

@ -362,7 +362,8 @@ guid_show(struct device *dev, struct device_attribute *attr, char *buf)
guid = ((u64)device->config_rom[3] << 32) | device->config_rom[4];
return snprintf(buf, PAGE_SIZE, "0x%016llx\n", guid);
return snprintf(buf, PAGE_SIZE, "0x%016llx\n",
(unsigned long long)guid);
}
static struct device_attribute fw_device_attributes[] = {