[parted-devel] [PATCH] Fix 2 partition typo, one in usage, one in a comment
Joel Granados
jgranado at redhat.com
Tue Aug 18 08:42:37 UTC 2009
I changed it a little. Hope its ok with you. Patch is attached.
I modified the commit message, thats all.
Regards.
On Tue, Aug 18, 2009 at 10:24:07AM +0200, Gilles Espinasse wrote:
> ---
> libparted/labels/fdasd.c | 2 +-
> parted/parted.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libparted/labels/fdasd.c b/libparted/labels/fdasd.c
> index 0311bdc..cb9404e 100644
> --- a/libparted/labels/fdasd.c
> +++ b/libparted/labels/fdasd.c
> @@ -967,7 +967,7 @@ fdasd_enqueue_new_partition (fdasd_anchor_t *anc)
> anc->fspace_trk = p->start_trk - FIRST_USABLE_TRK;
> }
> } else {
> - /* there are partitons in front of the new one */
> + /* there are partitions in front of the new one */
> if (p->start_trk == p->prev->end_trk + 1) {
> /* new partition is right behind the previous one */
> p->fspace_trk = p->prev->fspace_trk - p->len_trk;
> diff --git a/parted/parted.c b/parted/parted.c
> index 17b2b6c..addd775 100644
> --- a/parted/parted.c
> +++ b/parted/parted.c
> @@ -2182,7 +2182,7 @@ NULL),
> do_mkfs,
> str_list_create (
> _("mkfs NUMBER FS-TYPE make a FS-TYPE file "
> - "system on partititon NUMBER"),
> + "system on partition NUMBER"),
> NULL),
> str_list_create (_(number_msg), _(mkfs_fs_type_msg), NULL), 1));
>
> --
> 1.6.0.6
>
>
> _______________________________________________
> parted-devel mailing list
> parted-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/parted-devel
--
Joel Andres Granados
Brno, Czech Republic, Red Hat.
-------------- next part --------------
From 34951700cdb459a60361dce0187dd4fc9f2495ad Mon Sep 17 00:00:00 2001
From: Gilles Espinasse <g.esp at free.fr>
Date: Tue, 18 Aug 2009 10:24:07 +0200
Subject: [PATCH] Fix 2 typos.
* libparted/labels/fdasd.c (fdasd_enqueue_new_partition): Fix typo in
comment.
* parted/parted.c (_init_commands): Fix typo in message.
---
libparted/labels/fdasd.c | 2 +-
parted/parted.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libparted/labels/fdasd.c b/libparted/labels/fdasd.c
index 0311bdc..cb9404e 100644
--- a/libparted/labels/fdasd.c
+++ b/libparted/labels/fdasd.c
@@ -967,7 +967,7 @@ fdasd_enqueue_new_partition (fdasd_anchor_t *anc)
anc->fspace_trk = p->start_trk - FIRST_USABLE_TRK;
}
} else {
- /* there are partitons in front of the new one */
+ /* there are partitions in front of the new one */
if (p->start_trk == p->prev->end_trk + 1) {
/* new partition is right behind the previous one */
p->fspace_trk = p->prev->fspace_trk - p->len_trk;
diff --git a/parted/parted.c b/parted/parted.c
index 17b2b6c..addd775 100644
--- a/parted/parted.c
+++ b/parted/parted.c
@@ -2182,7 +2182,7 @@ NULL),
do_mkfs,
str_list_create (
_("mkfs NUMBER FS-TYPE make a FS-TYPE file "
- "system on partititon NUMBER"),
+ "system on partition NUMBER"),
NULL),
str_list_create (_(number_msg), _(mkfs_fs_type_msg), NULL), 1));
--
1.6.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20090818/be526eb2/attachment.pgp>
More information about the parted-devel
mailing list