]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
dissect: fix two minor typos in comments
authorLennart Poettering <lennart@poettering.net>
Thu, 22 Apr 2021 12:34:53 +0000 (14:34 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 22 Apr 2021 12:39:01 +0000 (13:39 +0100)
src/shared/dissect-image.c

index 63a81d42ad8fe8a3627e7bac239e6f9075fd79ba..b42501445738bf74812db78b479772d16f77c099 100644 (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);