]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Build.c
Monitor: Increase size of percentalert to avoid gcc warning
[thirdparty/mdadm.git] / Build.c
diff --git a/Build.c b/Build.c
index 70ba068437961aece4fc248611a4c9a4969e1bd1..962c2e3776b91ccb15135b9c0cff91f322a8c9fe 100644 (file)
--- a/Build.c
+++ b/Build.c
@@ -181,7 +181,7 @@ int Build(char *mddev, struct mddev_dev *devlist,
                        int major = BITMAP_MAJOR_HI;
 #if 0
                        if (s->bitmap_chunk == UnSet) {
-                               pr_err("%s cannot be openned.", s->bitmap_file);
+                               pr_err("%s cannot be opened.\n", s->bitmap_file);
                                goto abort;
                        }
 #endif
@@ -193,7 +193,7 @@ int Build(char *mddev, struct mddev_dev *devlist,
                        }
                        bitmap_fd = open(s->bitmap_file, O_RDWR);
                        if (bitmap_fd < 0) {
-                               pr_err("%s cannot be openned.", s->bitmap_file);
+                               pr_err("%s cannot be opened.\n", s->bitmap_file);
                                goto abort;
                        }
                }