From 8a2aea3fce9dad7c729c82ee39ce95b4f357bc83 Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Tue, 31 Jan 2017 13:19:40 -0600 Subject: Ensure all M() and M2() second parameters are the message pointer. Rather than maintain (?) an unused second parameter, t, and pull an unbound message pointer, mp, out of context, explicitly list the message pointer as the second parameter. Change-Id: I92143efda6211cdf6b935470f8c71579742a6b64 Signed-off-by: Jon Loeliger --- build-root/emacs-lisp/plugin-test-skel.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build-root/emacs-lisp') diff --git a/build-root/emacs-lisp/plugin-test-skel.el b/build-root/emacs-lisp/plugin-test-skel.el index 5231a236..23f792fa 100644 --- a/build-root/emacs-lisp/plugin-test-skel.el +++ b/build-root/emacs-lisp/plugin-test-skel.el @@ -170,7 +170,7 @@ static int api_" plugin-name "_enable_disable (vat_main_t * vam) } /* Construct the API message */ - M(" PLUGIN-NAME "_ENABLE_DISABLE, " plugin-name "_enable_disable); + M(" PLUGIN-NAME "_ENABLE_DISABLE, mp); mp->sw_if_index = ntohl (sw_if_index); mp->enable_disable = enable_disable; -- cgit 1.2.3-korg