summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormaksqwe <maksqwe1@ukr.net>2013-08-23 10:39:03 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-08-26 08:06:30 (GMT)
commitc31467e0a42a905b63a915a81cd721c089311692 (patch)
treee331e6cda85fc9d17ef32a4dc75f39b058f1df7b /src
parent6f37b439af7e96104aadd8ec3ae8d3882df8d102 (diff)
downloadlibnl-c31467e0a42a905b63a915a81cd721c089311692.zip
libnl-c31467e0a42a905b63a915a81cd721c089311692.tar.gz
libnl-c31467e0a42a905b63a915a81cd721c089311692.tar.bz2
Priority of the '<' operator is higher than that of the '=' operator
Signed-off-by: maksqwe <maksqwe1@ukr.net> Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'src')
-rw-r--r--src/nl-link-set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nl-link-set.c b/src/nl-link-set.c
index 3178a98..5ff1e9d 100644
--- a/src/nl-link-set.c
+++ b/src/nl-link-set.c
@@ -56,7 +56,7 @@ static void set_cb(struct nl_object *obj, void *arg)
};
int err;
- if ((err = rtnl_link_change(sock, link, change, 0) < 0))
+ if ((err = rtnl_link_change(sock, link, change, 0)) < 0)
nl_cli_fatal(err, "Unable to change link: %s",
nl_geterror(err));