提交 ed454fac 编写于 作者: M Michal Privoznik

node_device_hal.c: Follow _class -> klass rename

In 0eca80e6 _class was renamed to klass for variety of struct
members. However, gather_usb_cap() was missed out in this rename
leaving FreeBSD build broken.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 c53acd2a
......@@ -171,7 +171,7 @@ gather_usb_cap(LibHalContext *ctx, const char *udi,
(void)get_int_prop(ctx, udi, "usb.interface.number",
(int *)&d->usb_if.number);
(void)get_int_prop(ctx, udi, "usb.interface.class",
(int *)&d->usb_if._class);
(int *)&d->usb_if.klass);
(void)get_int_prop(ctx, udi, "usb.interface.subclass",
(int *)&d->usb_if.subclass);
(void)get_int_prop(ctx, udi, "usb.interface.protocol",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册