mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
usb_id: fix typo
This commit is contained in:
parent
46f01c6dc4
commit
33aa91b1be
@ -58,6 +58,10 @@ leading \-, runs in a hotplug mode, and expects the environment variable
|
||||
DEVPATH to specify the corresponding sysfs device. See section below on
|
||||
usage with \fBudev\fP.
|
||||
.TP
|
||||
.BI \-a
|
||||
Always print information (model, vendor strings) about the device even
|
||||
if it does not support VPD pages.
|
||||
.TP
|
||||
.BI \-b
|
||||
The default behaviour \- treat the device as black listed, and do nothing
|
||||
unless a white listed device is found in the scsi_id config\-file.
|
||||
|
@ -316,7 +316,7 @@ static int usb_id(const char *target_path)
|
||||
/* usb device directory */
|
||||
usb_dev = sysfs_get_device_parent(interface_dev);
|
||||
|
||||
if (!strcmp(interface_dev->bus, "bus") != 0) {
|
||||
if (strcmp(interface_dev->bus, "usb") != 0) {
|
||||
info("%s is not an usb device", target_path);
|
||||
return 1;
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ This is one has been simplified since we only care about the superblock.
|
||||
*/
|
||||
|
||||
struct ocfs2_super_block {
|
||||
__u8 i_signature[8]; /* Signature for validation */
|
||||
__u8 i_signature[8]; /* Signature for validation */
|
||||
__u32 i_generation; /* Generation number */
|
||||
__s16 i_suballoc_slot; /* Slot suballocator this inode belongs to */
|
||||
__u16 i_suballoc_bit; /* Bit offset in suballocator block group */
|
||||
|
Loading…
Reference in New Issue
Block a user