summaryrefslogtreecommitdiffstats
path: root/platform-intel.c
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2017-05-16 19:59:43 +0200
committerJes Sorensen <jsorensen@fb.com>2017-05-16 19:59:43 +0200
commitd7be7d87366a7f9b190bc4e41ea06f7c9984028e (patch)
tree48d43094e34376fa3dc7eab21546a10bc1119722 /platform-intel.c
parentmdadm: Fixup a large number of bad formatting of logical operators (diff)
downloadmdadm-d7be7d87366a7f9b190bc4e41ea06f7c9984028e.tar.xz
mdadm-d7be7d87366a7f9b190bc4e41ea06f7c9984028e.zip
mdadm: Fixup more broken logical operator formatting
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'platform-intel.c')
-rw-r--r--platform-intel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform-intel.c b/platform-intel.c
index 9867697b..a11101db 100644
--- a/platform-intel.c
+++ b/platform-intel.c
@@ -548,8 +548,8 @@ static int read_efi_variable(void *buffer, ssize_t buf_size, char *variable_name
errno = 0;
var_data_len = strtoul(buf, NULL, 16);
- if ((errno == ERANGE && (var_data_len == LONG_MAX))
- || (errno != 0 && var_data_len == 0))
+ if ((errno == ERANGE && (var_data_len == LONG_MAX)) ||
+ (errno != 0 && var_data_len == 0))
return 1;
/* get data */