[syslinux:pathbased] adv_menu.tpl: fix type of login_handler()

syslinux-bot for H. Peter Anvin hpa at linux.intel.com
Wed May 12 16:12:16 PDT 2010


Commit-ID:  47c18b0cc56b645f57622047e8f30026e16eeb10
Gitweb:     http://syslinux.zytor.com/commit/47c18b0cc56b645f57622047e8f30026e16eeb10
Author:     H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Wed, 12 May 2010 15:59:29 -0700
Committer:  H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Wed, 12 May 2010 15:59:29 -0700

adv_menu.tpl: fix type of login_handler()

Fix the type of the login_handler() function.

Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>


---
 com32/cmenu/adv_menu.tpl |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/com32/cmenu/adv_menu.tpl b/com32/cmenu/adv_menu.tpl
index a1a5d96..871c782 100644
--- a/com32/cmenu/adv_menu.tpl
+++ b/com32/cmenu/adv_menu.tpl
@@ -221,7 +221,7 @@ void keys_handler(t_menusystem * ms __attribute__ (( unused )), t_menuitem * mi,
    }
 }
 
-t_handler_return login_handler(t_menuitem *mi)
+t_handler_return login_handler(t_menusystem *ms, t_menuitem *mi)
 {
   (void)mi; // Unused
   char pwd[40];
@@ -229,6 +229,8 @@ t_handler_return login_handler(t_menuitem *mi)
   int nc, nr;
   t_handler_return rv;
 
+  (void)ms;
+
   rv = ACTION_INVALID;
   if (PWD_ROW < 0) return rv; // No need to authenticate
 



More information about the Syslinux-commits mailing list