]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Fix spelling typos.
authorDimitri John Ledkov <xnox@ubuntu.com>
Tue, 15 Jan 2019 19:08:37 +0000 (19:08 +0000)
committerJes Sorensen <jsorensen@fb.com>
Mon, 11 Feb 2019 19:42:50 +0000 (14:42 -0500)
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Assemble.c
Create.c
Grow.c
super-ddf.c
super-intel.c

index 9f75c68c9d49b9b2a9a7daf8201e1a6de4a71657..9f050c1fd53bd212f709d969b5e0f5450f0e5395 100644 (file)
@@ -879,7 +879,7 @@ static int force_array(struct mdinfo *content,
                current_events = devices[chosen_drive].i.events;
        add_another:
                if (c->verbose >= 0)
-                       pr_err("forcing event count in %s(%d) from %d upto %d\n",
+                       pr_err("forcing event count in %s(%d) from %d up to %d\n",
                               devices[chosen_drive].devname,
                               devices[chosen_drive].i.disk.raid_disk,
                               (int)(devices[chosen_drive].i.events),
index 04b1dfc9a6c527625d62e72744905e0ec117fd43..6f1b22884b689d508462afbe235030bca605f141 100644 (file)
--- a/Create.c
+++ b/Create.c
@@ -823,7 +823,7 @@ int Create(struct supertype *st, char *mddev,
                }
                bitmap_fd = open(s->bitmap_file, O_RDWR);
                if (bitmap_fd < 0) {
-                       pr_err("weird: %s cannot be openned\n",
+                       pr_err("weird: %s cannot be opened\n",
                                s->bitmap_file);
                        goto abort_locked;
                }
diff --git a/Grow.c b/Grow.c
index 363b209d14a3ac6bc352df8626c5267beaa01489..6d32661858a94f186113fed2ab0ce8bdbff63410 100644 (file)
--- a/Grow.c
+++ b/Grow.c
@@ -446,7 +446,7 @@ int Grow_addbitmap(char *devname, int fd, struct context *c, struct shape *s)
                if (offset_setable) {
                        st->ss->getinfo_super(st, mdi, NULL);
                        if (sysfs_init(mdi, fd, NULL)) {
-                               pr_err("failed to intialize sysfs.\n");
+                               pr_err("failed to initialize sysfs.\n");
                                free(mdi);
                        }
                        rv = sysfs_set_num_signed(mdi, NULL, "bitmap/location",
@@ -2178,7 +2178,7 @@ size_change_error:
        memset(&info, 0, sizeof(info));
        info.array = array;
        if (sysfs_init(&info, fd, NULL)) {
-               pr_err("failed to intialize sysfs.\n");
+               pr_err("failed to initialize sysfs.\n");
                rv = 1;
                goto release;
        }
@@ -2903,7 +2903,7 @@ static int impose_level(int fd, int level, char *devname, int verbose)
        struct mdinfo info;
 
        if (sysfs_init(&info, fd, NULL)) {
-               pr_err("failed to intialize sysfs.\n");
+               pr_err("failed to initialize sysfs.\n");
                return  1;
        }
 
index 618542c4b7dd5bc037b434317ea365bf7b753df9..c095e8a2f8c3b784c0e4707b9ed41f65a0240872 100644 (file)
@@ -1900,7 +1900,7 @@ static struct vd_config *find_vdcr(struct ddf_super *ddf, unsigned int inst,
                return conf;
        }
 bad:
-       pr_err("Could't find disk %d in array %u\n", n, inst);
+       pr_err("Couldn't find disk %d in array %u\n", n, inst);
        return NULL;
 }
 
index 1cc7d5fab618150c023dfe7f935d58f5d702832f..c399433e1976cd7be864c78ae6558b4fe8c4adc1 100644 (file)
@@ -10034,7 +10034,7 @@ static void imsm_process_update(struct supertype *st,
                break;
        }
        default:
-               pr_err("error: unsuported process update type:(type: %d)\n",    type);
+               pr_err("error: unsupported process update type:(type: %d)\n",   type);
        }
 }