From 6361b17c2cc901a74a22aca9412040d0319d1601 Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Fri, 7 Jul 2017 20:29:04 +0300 Subject: [PATCH] Fix misplaced parenthesis --- src/cmd-upgrade.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd-upgrade.c b/src/cmd-upgrade.c index c3cbbed..e938c49 100644 --- a/src/cmd-upgrade.c +++ b/src/cmd-upgrade.c @@ -33,7 +33,7 @@ */ static gboolean _check_libc_libs(const gchar* path) { - if (strncmp(path, "lib/ld-linux.so", strlen("lib/ld-linux.so") == 0) || + if (strncmp(path, "lib/ld-linux.so", strlen("lib/ld-linux.so")) == 0 || strncmp(path, "lib64/ld-linux-x86-64.so", strlen("lib64/ld-linux-x86-64.so")) == 0 || strncmp(path, "lib/libc.so", strlen("lib/libc.so")) == 0 || strncmp(path, "lib64/libc.so", strlen("lib64/libc.so")) == 0 ||