summaryrefslogtreecommitdiffstats
path: root/Grow.c
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2019-01-15 20:08:37 +0100
committerJes Sorensen <jsorensen@fb.com>2019-02-11 20:42:50 +0100
commitebf3be9931f31df54df52b1821479e6a80a4d9c6 (patch)
treeda6a0eac84dbc3ca6da19388abb538c24c531c61 /Grow.c
parentimsm: fix reshape for >2TB drives (diff)
downloadmdadm-ebf3be9931f31df54df52b1821479e6a80a4d9c6.tar.xz
mdadm-ebf3be9931f31df54df52b1821479e6a80a4d9c6.zip
Fix spelling typos.
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'Grow.c')
-rw-r--r--Grow.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Grow.c b/Grow.c
index 363b209d..6d326618 100644
--- 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;
}