dissect: fix two minor typos in comments

This commit is contained in:
Lennart Poettering
2021-04-22 13:39:01 +01:00
committed by Luca Boccassi
parent a00ff2e1b5
commit 7d25c2463f
+2 -2
View File
@@ -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);