Compiler warning fix.
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index b50424a..ba49ede 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -779,7 +779,7 @@
 	 "end",
 	 "End current mode and down to previous mode\n")
 {
-  return vtysh_end (vty);
+  return vtysh_end ();
 }
 
 DEFUNSH (VTYSH_BGPD,