From: Peter Dinda Date: Wed, 20 Jun 2012 23:01:04 +0000 (-0500) Subject: replace errant printks in linux module with macro calls X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=18004a8cb830010315b412162da2d92b95a960ee;p=palacios.releases.git replace errant printks in linux module with macro calls --- diff --git a/linux_module/vm.c b/linux_module/vm.c index 40cfa06..06a016a 100644 --- a/linux_module/vm.c +++ b/linux_module/vm.c @@ -217,17 +217,17 @@ static long v3_vm_ioctl(struct file * filp, memset(&cmd, 0, sizeof(struct v3_debug_cmd)); if (copy_from_user(&cmd, argp, sizeof(struct v3_debug_cmd))) { - printk("Error: Could not copy debug command from user space\n"); + ERROR("Error: Could not copy debug command from user space\n"); return -EFAULT; } evt.core_id = cmd.core; evt.cmd = cmd.cmd; - printk("Debugging VM\n"); + INFO("Debugging VM\n"); if (v3_deliver_debug_event(guest->v3_ctx, &evt) == -1) { - printk("Error could not deliver debug cmd\n"); + ERROR("Error could not deliver debug cmd\n"); return -EFAULT; }