mirror of
https://github.com/systemd/systemd
synced 2024-10-14 20:17:52 +00:00
dissect: fix two minor typos in comments
This commit is contained in:
parent
a00ff2e1b5
commit
7d25c2463f
|
@ -178,8 +178,8 @@ static int device_is_partition(
|
|||
if (!path_equal(parent_syspath, expected_parent_syspath))
|
||||
return false; /* Has a different parent than what we need, not interesting to us */
|
||||
|
||||
/* On kernel uevents the partition number we may find in the PARTN= field. Let's use that preferably,
|
||||
* since it's cheaper and more importantly: the sysfs attribute "partition" appear to become
|
||||
/* On kernel uevents we may find the partition number in the PARTN= field. Let's use that preferably,
|
||||
* since it's cheaper and more importantly: the sysfs attribute "partition" appears to become
|
||||
* available late, hence let's use the property instead, which is available at the moment we see the
|
||||
* uevent. */
|
||||
r = sd_device_get_property_value(d, "PARTN", &v);
|
||||
|
|
Loading…
Reference in a new issue