提交 ed476418 编写于 作者: A Al Viro

pci-label.c: size_t misspelled as mode_t

no, really, strlen() and snprintf() do not return mode_t values...
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 61effb51
...@@ -55,7 +55,7 @@ enum smbios_attr_enum { ...@@ -55,7 +55,7 @@ enum smbios_attr_enum {
SMBIOS_ATTR_INSTANCE_SHOW, SMBIOS_ATTR_INSTANCE_SHOW,
}; };
static mode_t static size_t
find_smbios_instance_string(struct pci_dev *pdev, char *buf, find_smbios_instance_string(struct pci_dev *pdev, char *buf,
enum smbios_attr_enum attribute) enum smbios_attr_enum attribute)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册