From 4ff7c66996a6a61b0de00dbf137af2e8fdc3d10a Mon Sep 17 00:00:00 2001 From: Byeonggon Lee Date: Wed, 27 Mar 2019 11:41:18 +0900 Subject: [PATCH] tests: use nl_send_auto() instead of deprecated nl_send_auto_complete() in test-genl.c https://github.com/thom311/libnl/pull/213 --- tests/test-genl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0