[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Wed Apr 20 11:05:35 UTC 2011


 libparted/arch/linux.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9b15c9a574ad90df818a23ab6f02d57cdb421480
Author: Brian C. Lane <bcl at redhat.com>
Date:   Wed Apr 20 13:04:20 2011 +0200

    linux: fix typo in comment: /path%d => /part%d
    
    * libparted/arch/linux.c (_device_get_part_path): Fix typo in comment.

diff --git a/libparted/arch/linux.c b/libparted/arch/linux.c
index fa51b73..c108f5a 100644
--- a/libparted/arch/linux.c
+++ b/libparted/arch/linux.c
@@ -2216,7 +2216,7 @@ _device_get_part_path (PedDevice *dev, int num)
            unconditionally; the system might be using udev with devfs rules,
            and if not the test is harmless. */
         if (5 < path_len && !strcmp (dev->path + path_len - 5, "/disc")) {
-                /* replace /disc with /path%d */
+                /* replace /disc with /part%d */
                 result = zasprintf ("%.*s/part%d",
                                     (int) (path_len - 5), dev->path, num);
         } else {



More information about the Parted-commits mailing list