From: Ben Gras Date: Mon, 13 Mar 2006 15:41:07 +0000 (+0000) Subject: debug msg X-Git-Tag: v3.1.2a~243 X-Git-Url: http://zhaoyanbai.com/repos/Bv9ARM.ch06.html?a=commitdiff_plain;h=733f5da6116a917b71ffcf151c7d3df41667c052;p=minix.git debug msg --- diff --git a/drivers/memory/memory.c b/drivers/memory/memory.c index f85224c04..b6e49b221 100644 --- a/drivers/memory/memory.c +++ b/drivers/memory/memory.c @@ -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) {