Index: trunk/Ohana/src/opihi/pcontrol/HostOps.c
===================================================================
--- trunk/Ohana/src/opihi/pcontrol/HostOps.c	(revision 8296)
+++ trunk/Ohana/src/opihi/pcontrol/HostOps.c	(revision 8424)
@@ -15,19 +15,23 @@
 }
 
+char *GetHostStackName (int StackID) {
+  switch (StackID) {
+    case PCONTROL_HOST_IDLE: return ("IDLE");
+    case PCONTROL_HOST_DOWN: return ("DOWN");
+    case PCONTROL_HOST_DONE: return ("DONE");
+    case PCONTROL_HOST_BUSY: return ("BUSY");
+    case PCONTROL_HOST_OFF:  return ("OFF");
+  }
+  gprint (GP_ERR, "error: unknown host stack : programming error\n");
+  exit (1);
+}
+
 Stack *GetHostStack (int StackID) {
   switch (StackID) {
-    case PCONTROL_HOST_IDLE:
-      return (HostPool_Idle);
-    case PCONTROL_HOST_DOWN:
-      return (HostPool_Down);
-    case PCONTROL_HOST_DONE:
-      return (HostPool_Done);
-    case PCONTROL_HOST_BUSY:
-      return (HostPool_Busy);
-    case PCONTROL_HOST_OFF:
-      return (HostPool_Off);
-    default:
-      gprint (GP_ERR, "error: unknown host stack : programming error\n");
-      exit (1);
+    case PCONTROL_HOST_IDLE: return (HostPool_Idle);
+    case PCONTROL_HOST_DOWN: return (HostPool_Down);
+    case PCONTROL_HOST_DONE: return (HostPool_Done);
+    case PCONTROL_HOST_BUSY: return (HostPool_Busy);
+    case PCONTROL_HOST_OFF:  return (HostPool_Off);
   }
   gprint (GP_ERR, "error: unknown host stack : programming error\n");
