summaryrefslogtreecommitdiffstats
path: root/mdopen.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-08-04 07:30:02 +0200
committerJes Sorensen <jsorensen@fb.com>2017-08-16 14:25:07 +0200
commit8e5b52cdda95965787e2a289c855a4ab7099f00d (patch)
treed82c64ab5c1b21a94b5b9b021c7108e645772efb /mdopen.c
parentimsm: rebuild from 2-disk RAID10 (diff)
downloadmdadm-8e5b52cdda95965787e2a289c855a4ab7099f00d.tar.xz
mdadm-8e5b52cdda95965787e2a289c855a4ab7099f00d.zip
Error messages should end with a newline character.
Add "\n" to the end of error messages which don't already have one. Also spell "opened" correctly. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'mdopen.c')
-rw-r--r--mdopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdopen.c b/mdopen.c
index c4f1c12c..3c0052f2 100644
--- a/mdopen.c
+++ b/mdopen.c
@@ -198,7 +198,7 @@ int create_mddev(char *dev, char *name, int autof, int trustworthy,
return -1;
}
if (cname[0] == 0) {
- pr_err("%s is an invalid name for an md device (empty!).", dev);
+ pr_err("%s is an invalid name for an md device (empty!).\n", dev);
return -1;
}
if (num < 0) {