dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/0014-Fix-spelling-typos.patch

8fbece
From ebf3be9931f31df54df52b1821479e6a80a4d9c6 Mon Sep 17 00:00:00 2001
8fbece
From: Dimitri John Ledkov <xnox@ubuntu.com>
8fbece
Date: Tue, 15 Jan 2019 19:08:37 +0000
8fbece
Subject: [RHEL7.7 PATCH 14/24] Fix spelling typos.
8fbece
8fbece
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
8fbece
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
8fbece
---
8fbece
 Assemble.c    | 2 +-
8fbece
 Create.c      | 2 +-
8fbece
 Grow.c        | 6 +++---
8fbece
 super-ddf.c   | 2 +-
8fbece
 super-intel.c | 2 +-
8fbece
 5 files changed, 7 insertions(+), 7 deletions(-)
8fbece
8fbece
diff --git a/Assemble.c b/Assemble.c
8fbece
index 9f75c68..9f050c1 100644
8fbece
--- a/Assemble.c
8fbece
+++ b/Assemble.c
8fbece
@@ -879,7 +879,7 @@ static int force_array(struct mdinfo *content,
8fbece
 		current_events = devices[chosen_drive].i.events;
8fbece
 	add_another:
8fbece
 		if (c->verbose >= 0)
8fbece
-			pr_err("forcing event count in %s(%d) from %d upto %d\n",
8fbece
+			pr_err("forcing event count in %s(%d) from %d up to %d\n",
8fbece
 			       devices[chosen_drive].devname,
8fbece
 			       devices[chosen_drive].i.disk.raid_disk,
8fbece
 			       (int)(devices[chosen_drive].i.events),
8fbece
diff --git a/Create.c b/Create.c
8fbece
index 04b1dfc..6f1b228 100644
8fbece
--- a/Create.c
8fbece
+++ b/Create.c
8fbece
@@ -823,7 +823,7 @@ int Create(struct supertype *st, char *mddev,
8fbece
 		}
8fbece
 		bitmap_fd = open(s->bitmap_file, O_RDWR);
8fbece
 		if (bitmap_fd < 0) {
8fbece
-			pr_err("weird: %s cannot be openned\n",
8fbece
+			pr_err("weird: %s cannot be opened\n",
8fbece
 				s->bitmap_file);
8fbece
 			goto abort_locked;
8fbece
 		}
8fbece
diff --git a/Grow.c b/Grow.c
8fbece
index 363b209..6d32661 100644
8fbece
--- a/Grow.c
8fbece
+++ b/Grow.c
8fbece
@@ -446,7 +446,7 @@ int Grow_addbitmap(char *devname, int fd, struct context *c, struct shape *s)
8fbece
 		if (offset_setable) {
8fbece
 			st->ss->getinfo_super(st, mdi, NULL);
8fbece
 			if (sysfs_init(mdi, fd, NULL)) {
8fbece
-				pr_err("failed to intialize sysfs.\n");
8fbece
+				pr_err("failed to initialize sysfs.\n");
8fbece
 				free(mdi);
8fbece
 			}
8fbece
 			rv = sysfs_set_num_signed(mdi, NULL, "bitmap/location",
8fbece
@@ -2178,7 +2178,7 @@ size_change_error:
8fbece
 	memset(&info, 0, sizeof(info));
8fbece
 	info.array = array;
8fbece
 	if (sysfs_init(&info, fd, NULL)) {
8fbece
-		pr_err("failed to intialize sysfs.\n");
8fbece
+		pr_err("failed to initialize sysfs.\n");
8fbece
 		rv = 1;
8fbece
 		goto release;
8fbece
 	}
8fbece
@@ -2903,7 +2903,7 @@ static int impose_level(int fd, int level, char *devname, int verbose)
8fbece
 	struct mdinfo info;
8fbece
 
8fbece
 	if (sysfs_init(&info, fd, NULL)) {
8fbece
-		pr_err("failed to intialize sysfs.\n");
8fbece
+		pr_err("failed to initialize sysfs.\n");
8fbece
 		return  1;
8fbece
 	}
8fbece
 
8fbece
diff --git a/super-ddf.c b/super-ddf.c
8fbece
index 618542c..c095e8a 100644
8fbece
--- a/super-ddf.c
8fbece
+++ b/super-ddf.c
8fbece
@@ -1900,7 +1900,7 @@ static struct vd_config *find_vdcr(struct ddf_super *ddf, unsigned int inst,
8fbece
 		return conf;
8fbece
 	}
8fbece
 bad:
8fbece
-	pr_err("Could't find disk %d in array %u\n", n, inst);
8fbece
+	pr_err("Couldn't find disk %d in array %u\n", n, inst);
8fbece
 	return NULL;
8fbece
 }
8fbece
 
8fbece
diff --git a/super-intel.c b/super-intel.c
8fbece
index 1cc7d5f..c399433 100644
8fbece
--- a/super-intel.c
8fbece
+++ b/super-intel.c
8fbece
@@ -10034,7 +10034,7 @@ static void imsm_process_update(struct supertype *st,
8fbece
 		break;
8fbece
 	}
8fbece
 	default:
8fbece
-		pr_err("error: unsuported process update type:(type: %d)\n",	type);
8fbece
+		pr_err("error: unsupported process update type:(type: %d)\n",	type);
8fbece
 	}
8fbece
 }
8fbece
 
8fbece
-- 
8fbece
2.7.5
8fbece