embellish usage display
[calc.git] / storage.c
index 54815e2d98e69c299e208920ad4350128ce3b03c..15a64702a46b92278eaf34bf44f0ff5816419acd 100644 (file)
--- a/storage.c
+++ b/storage.c
@@ -73,12 +73,12 @@ void display (void)
         memory (DEFAULT_STORAGE_SIZE);
     }
     int i, n = size_tab (storage);
-    fprintf (stdout, "storage:");
+    printf ("storage:");
     for (i = 0; i < n; i++) {
-        fprintf (stdout, " ");
-        fprintf (stdout, minform, get_tab (storage, i + 1));
+        printf (" ");
+        printl (get_tab (storage, i + 1));
     }
-    fprintf (stdout, "\n");
+    printf ("\n");
 }
 
 void clear ()