summaryrefslogtreecommitdiffstats
path: root/platform-intel.h
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 /platform-intel.h
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 'platform-intel.h')
-rw-r--r--platform-intel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform-intel.h b/platform-intel.h
index 3e85d44b..2ead431b 100644
--- a/platform-intel.h
+++ b/platform-intel.h
@@ -217,8 +217,7 @@ struct orom_entry {
static inline char *guid_str(char *buf, struct efi_guid guid)
{
- sprintf(buf, "%02x%02x%02x%02x-%02x%02x-%02x%02x-"
- "%02x%02x-%02x%02x%02x%02x%02x%02x",
+ sprintf(buf, "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x",
guid.b[3], guid.b[2], guid.b[1], guid.b[0],
guid.b[5], guid.b[4], guid.b[7], guid.b[6],
guid.b[8], guid.b[9], guid.b[10], guid.b[11],