Skip to content

Commit

Permalink
pci-label.c: size_t misspelled as mode_t
Browse files Browse the repository at this point in the history
no, really, strlen() and snprintf() do not return mode_t values...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jul 26, 2011
1 parent 61effb5 commit ed47641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/pci-label.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ enum smbios_attr_enum {
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)
{
Expand Down

0 comments on commit ed47641

Please sign in to comment.