]> git.proxmox.com Git - grub2.git/commitdiff
2008-07-27 Pavel Roskin <proski@gnu.org>
authorproski <proski@localhost>
Sun, 27 Jul 2008 05:57:10 +0000 (05:57 +0000)
committerproski <proski@localhost>
Sun, 27 Jul 2008 05:57:10 +0000 (05:57 +0000)
* util/getroot.c (find_root_device): Rephrase a comment to avoid
spurious warnings about a comment within a comment.

ChangeLog
util/getroot.c

index 09e2225c4c71f6e7bb2addc4fddcf54e6154fcc7..3e0a6eddf835bc90f3e38a681ffa5dd2752ce354 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-27  Pavel Roskin  <proski@gnu.org>
+
+       * util/getroot.c (find_root_device): Rephrase a comment to avoid
+       spurious warnings about a comment within a comment.
+
 2008-07-25  Robert Millan  <rmh@aybabtu.com>
 
        * util/getroot.c (find_root_device): Skip devices that match
index 744d5effd336f59d5ca19a26b844c77488effe21..c8d31ede29109fbbea9c5115d836fa752fd738cd 100644 (file)
@@ -230,8 +230,8 @@ find_root_device (const char *dir, dev_t dev)
       if (S_ISBLK (st.st_mode) && st.st_rdev == dev)
        {
 #ifdef __linux__
-         /* Skip useless device names like /dev/dm-0, which prevent us from
-            finding /dev/mapper/*, /dev/evms/*, /dev/md*, etc.  */
+         /* Skip device names like /dev/dm-0, which are short-hand aliases
+            to more descriptive device names, e.g. those under /dev/mapper */
          if (ent->d_name[0] == 'd' &&
              ent->d_name[1] == 'm' &&
              ent->d_name[2] == '-' &&