commit | ed476418394f12d47f27a75424c237a94d244f10 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Jul 24 23:31:06 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Jul 26 13:01:09 2011 -0400 |
tree | 7237c6c7677ff112afa986dcf4379409aa25efc2 | |
parent | 61effb519cbf0b2973c65070a890fabfcbf84756 [diff] |
pci-label.c: size_t misspelled as mode_t no, really, strlen() and snprintf() do not return mode_t values... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/drivers/pci/pci-label.c b/drivers/pci/pci-label.c index 77cb2a1..81525ae 100644 --- a/drivers/pci/pci-label.c +++ b/drivers/pci/pci-label.c
@@ -55,7 +55,7 @@ SMBIOS_ATTR_INSTANCE_SHOW, }; -static mode_t +static size_t find_smbios_instance_string(struct pci_dev *pdev, char *buf, enum smbios_attr_enum attribute) {