diff options
author | Byeonggon Lee <gonny952@gmail.com> | 2019-03-27 02:41:18 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-08-07 12:44:58 (GMT) |
commit | 4ff7c66996a6a61b0de00dbf137af2e8fdc3d10a (patch) | |
tree | 8515acada49088deb054c5209b09a7da0f7e0667 | |
parent | 65b3dd5ac2d5de4c7a0c64e430596d9d27973527 (diff) | |
download | libnl-4ff7c66996a6a61b0de00dbf137af2e8fdc3d10a.zip libnl-4ff7c66996a6a61b0de00dbf137af2e8fdc3d10a.tar.gz libnl-4ff7c66996a6a61b0de00dbf137af2e8fdc3d10a.tar.bz2 |
tests: use nl_send_auto() instead of deprecated nl_send_auto_complete() in test-genl.c
https://github.com/thom311/libnl/pull/213
-rw-r--r-- | tests/test-genl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-genl.c b/tests/test-genl.c index d96dadd..42db501 100644 --- a/tests/test-genl.c +++ b/tests/test-genl.c @@ -101,7 +101,7 @@ int main(int argc, char *argv[]) if ((err = nla_put_u32(msg, TASKSTATS_CMD_ATTR_PID, 1)) < 0) nl_cli_fatal(err, "Unable to add attribute: %s", nl_geterror(err)); - if ((err = nl_send_auto_complete(sock, msg)) < 0) + if ((err = nl_send_auto(sock, msg)) < 0) nl_cli_fatal(err, "Unable to send message: %s", nl_geterror(err)); nlmsg_free(msg); |