summaryrefslogtreecommitdiffstats
path: root/Build.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-02-12 03:46:53 +0100
committerNeilBrown <neilb@suse.de>2015-02-12 03:46:53 +0100
commit7a862a020f04b10f17f6dcae23bf60c52cbe190b (patch)
tree8134a9a06b1aaaa1ee640b20f3b00e95755d4f49 /Build.c
parentConsistently print program Name and __func__ in debug messages. (diff)
downloadmdadm-7a862a020f04b10f17f6dcae23bf60c52cbe190b.tar.xz
mdadm-7a862a020f04b10f17f6dcae23bf60c52cbe190b.zip
Don't break long strings onto multiple lines.
It is best to keep strings all together so that they are easier to search for in the source code. If a string is so long that it looks ugly one line, them maybe it should be broken into multiple lines for display too. Only strings which contain a newline can be broken into multiple lines: "It is OK to\n" "break this string\n" Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Build.c')
-rw-r--r--Build.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Build.c b/Build.c
index da64dc89..8603c710 100644
--- a/Build.c
+++ b/Build.c
@@ -254,8 +254,7 @@ int Build(char *mddev, struct mddev_dev *devlist,
pr_err("RUN_ARRAY failed: %s\n",
strerror(errno));
if (s->chunk & (s->chunk-1)) {
- cont_err("Problem may be that chunk size"
- " is not a power of 2\n");
+ cont_err("Problem may be that chunk size is not a power of 2\n");
}
goto abort;
}