diff options
-rw-r--r-- | util/ectool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool.c b/util/ectool.c index 521ebea767..94a5f3d4ef 100644 --- a/util/ectool.c +++ b/util/ectool.c @@ -3096,7 +3096,7 @@ int main(int argc, char *argv[]) exit(1); } - if (comm_init() < 0) { + if (comm_init()) { fprintf(stderr, "Couldn't find EC\n"); goto out; } |