]> git.ozlabs.org Git - yaboot.git/blobdiff - second/cfg.c
Fix the swab* macros.
[yaboot.git] / second / cfg.c
index 381d16b349175927e945608884d8d9fa8d865d5e..2787558181a16768f957666b6f9cbc7ae720ac0a 100644 (file)
@@ -431,12 +431,12 @@ static int cfg_reset ()
     curr_table = cf_options;
     for (walk = curr_table; walk->type != cft_end; walk++) {
 #if DEBUG
-        prom_printf("ItemA %s = %s\n", walk->name, walk->data);
+        prom_printf("ItemA %s = %s\n", walk->name, (char *)walk->data);
 #endif
         if (walk->data != NULL)
             walk->data = NULL;
 #if DEBUG
-        prom_printf("ItemB %s = %s\n\n", walk->name, walk->data);
+        prom_printf("ItemB %s = %s\n\n", walk->name, (char *)walk->data);
 #endif
     }