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:
parent
6f37b439af
commit
c31467e0a4
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue