Index: trunk/Ohana/src/opihi/pantasks/controller.c
===================================================================
--- trunk/Ohana/src/opihi/pantasks/controller.c	(revision 4539)
+++ trunk/Ohana/src/opihi/pantasks/controller.c	(revision 4552)
@@ -1,3 +1,7 @@
 # include "scheduler.h"
+
+int controller_host    PROTO((int, char **));
+int controller_status  PROTO((int, char **));
+int controller_check   PROTO((int, char **));
 
 static Command controller_cmds[] = {
@@ -34,5 +38,5 @@
 
   for (i = 0; i < N; i++) {
-    if (!strcmp (controller_cmds[i].name, argv[1])) {
+    if (!strcmp (controller_cmds[i].name, cmd)) {
       return (controller_cmds[i].func);
     }
