Compiler warning fix.
diff --git a/vtysh/ChangeLog b/vtysh/ChangeLog
index 1156afc..bca51bb 100644
--- a/vtysh/ChangeLog
+++ b/vtysh/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-26 Hasso Tepper <hasso at quagga.net>
+
+	* vtysh.c: Fix compiler warning.
+
 2004-09-17 Paul Jakma <paul@dishone.st>
 
 	* vtysh.c: (vtysh_client_execute) trailling NULLs can be arbitrarily
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,