Index: trunk/Ohana/src/opihi/lib.shell/variable.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/variable.c	(revision 6327)
+++ trunk/Ohana/src/opihi/lib.shell/variable.c	(revision 6424)
@@ -103,5 +103,5 @@
   
   int i;
-  char *local, *MacroName;
+  char *local, *MacroName, *value;
 
   if (name == NULL) return (NULL);
@@ -111,5 +111,5 @@
   /* return a string which should not be freed */
   if (*name == '?') {
-    value = get_variable_ptr (name[1]);
+    value = get_variable_ptr (&name[1]);
     if (value == NULL) {
       return variable_false;
@@ -152,5 +152,5 @@
   /* return a string which can be freed */
   if (*name == '?') {
-    value = get_variable_ptr (name[1]);
+    value = get_variable_ptr (&name[1]);
     if (value == NULL) {
       value = strcreate (variable_false);
