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>
This commit is contained in:
maksqwe 2013-08-23 13:39:03 +03:00 committed by Thomas Graf
parent 6f37b439af
commit c31467e0a4

View file

@ -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));