]> Zhao Yanbai Git Server - minix.git/commitdiff
debug msg
authorBen Gras <ben@minix3.org>
Mon, 13 Mar 2006 15:41:07 +0000 (15:41 +0000)
committerBen Gras <ben@minix3.org>
Mon, 13 Mar 2006 15:41:07 +0000 (15:41 +0000)
drivers/memory/memory.c

index f85224c04472cf70bd460cc27d722f1093ca164a..b6e49b22119a491707b8b29db67d9da14bb54e58 100644 (file)
@@ -361,7 +361,10 @@ message *m_ptr;                            /* pointer to control message */
        if (s != OK)
                return s;
 #endif
+
+#if DEBUG
        printf("allocating ramdisk of size 0x%x\n", ramdev_size);
+#endif
 
        /* Try to allocate a piece of memory for the RAM disk. */
         if (allocmem(ramdev_size, &ramdev_base) < 0) {