diff options
author | Jes Sorensen <jsorensen@fb.com> | 2017-05-16 19:59:43 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-05-16 19:59:43 +0200 |
commit | d7be7d87366a7f9b190bc4e41ea06f7c9984028e (patch) | |
tree | 48d43094e34376fa3dc7eab21546a10bc1119722 /platform-intel.c | |
parent | mdadm: Fixup a large number of bad formatting of logical operators (diff) | |
download | mdadm-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.c | 4 |
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 */ |