From 5d30abd488109fafecdfb3119449aefa5dd685b2 Mon Sep 17 00:00:00 2001 From: Patrick Williams Date: Mon, 22 Aug 2011 17:33:44 -0500 Subject: Add environment var to remove debug messages. - Add printkd function. - Create HOSTBOOT_DEBUG env var for printk. - Update trace interfaces to utilize HOSTBOOT_DEBUG. - Fix compile errors due to unused variables. Change-Id: Ib18c3ecd51ca333e0118949bf35476e9c5aa46a7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/273 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/sys/vfs/vfs_main.C | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/sys') diff --git a/src/sys/vfs/vfs_main.C b/src/sys/vfs/vfs_main.C index 33d79d8f2..a4d066c85 100644 --- a/src/sys/vfs/vfs_main.C +++ b/src/sys/vfs/vfs_main.C @@ -92,8 +92,8 @@ void vfs_main(void* i_barrier) e->msg_q = (msg_q_t) msg->data[0]; vfsContents.insert(e); - printk("VFS: Registering %p as %s\n", - e->msg_q, e->key.key); + printkd("VFS: Registering %p as %s\n", + e->msg_q, e->key.key); msg_respond(vfsMsgQ, msg); } break; @@ -113,8 +113,8 @@ void vfs_main(void* i_barrier) case VFS_MSG_EXEC: { - printk("VFS: Got exec request of %s\n", - (const char*)msg->data[0]); + printkd("VFS: Got exec request of %s\n", + (const char*)msg->data[0]); VfsSystemModule* module = vfs_find_module(VFS_MODULES, @@ -177,6 +177,6 @@ tid_t vfs_exec(VfsSystemModule * i_module, void* i_param) } return child; } - + -- cgit v1.2.1