tree-wide: tabs suck (#8527)
This commit is contained in:
parent
3e44d24d3b
commit
2f5fa62bf7
|
@ -367,7 +367,7 @@ int detect_vm(void) {
|
||||||
* because we're not an x86 guest), then we should try the /proc/xen
|
* because we're not an x86 guest), then we should try the /proc/xen
|
||||||
* directory next. If that's not found, then we check for the high-level
|
* directory next. If that's not found, then we check for the high-level
|
||||||
* hypervisor sysfs file.
|
* hypervisor sysfs file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
r = detect_vm_xen();
|
r = detect_vm_xen();
|
||||||
if (r < 0)
|
if (r < 0)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
SD_SHARED {
|
SD_SHARED {
|
||||||
global: *;
|
global: *;
|
||||||
};
|
};
|
||||||
|
|
|
@ -63,7 +63,7 @@ endif
|
||||||
|
|
||||||
if conf.get('HAVE_ACL') == 1
|
if conf.get('HAVE_ACL') == 1
|
||||||
libudev_core_sources += ['udev-builtin-uaccess.c',
|
libudev_core_sources += ['udev-builtin-uaccess.c',
|
||||||
logind_acl_c,
|
logind_acl_c,
|
||||||
sd_login_c]
|
sd_login_c]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -73,9 +73,9 @@ static const char *modalias_usb(struct udev_device *dev, char *s, size_t size) {
|
||||||
if (!p)
|
if (!p)
|
||||||
return NULL;
|
return NULL;
|
||||||
if (safe_atoux16(v, &vn) < 0)
|
if (safe_atoux16(v, &vn) < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
if (safe_atoux16(p, &pn) < 0)
|
if (safe_atoux16(p, &pn) < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
snprintf(s, size, "usb:v%04Xp%04X*", vn, pn);
|
snprintf(s, size, "usb:v%04Xp%04X*", vn, pn);
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue