[Gluster-devel] parted_print patch!
Harshavardhana Ranganath
harsha at 80x25.org
Tue Jul 25 19:11:04 UTC 2006
parted flags printing fix. for parted-1.7.0
http://www.gnu.org/software/parted/
- Harshavardhana
-------------- next part --------------
--- parted.c 2006-05-15 15:39:26.000000000 +0530
+++ /root/parted-1.7.0-h/parted/parted.c 2006-07-26 00:34:02.356727203 +0530
@@ -1104,7 +1104,6 @@ partition_print_flags (PedPartition* par
res = _res;
strncat (res, ", ", 2);
}
-
name = _(ped_partition_flag_get_name (flag));
_res = res;
ped_realloc (&_res, strlen (res) + 1
@@ -1112,8 +1111,10 @@ partition_print_flags (PedPartition* par
res = _res;
strncat (res, name, 21);
}
- }
+ }
+ if (first_flag)
+ strncat (res, "* ", 2);
return res;
}
More information about the Gluster-devel
mailing list