aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/privcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/privcmd.c')
-rw-r--r--drivers/xen/privcmd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c
index 2cfc24d76fc5..f8e5dd701ecb 100644
--- a/drivers/xen/privcmd.c
+++ b/drivers/xen/privcmd.c
@@ -6,6 +6,8 @@
6 * Copyright (c) 2002-2004, K A Fraser, B Dragovic 6 * Copyright (c) 2002-2004, K A Fraser, B Dragovic
7 */ 7 */
8 8
9#define pr_fmt(fmt) "xen:" KBUILD_MODNAME ": " fmt
10
9#include <linux/kernel.h> 11#include <linux/kernel.h>
10#include <linux/module.h> 12#include <linux/module.h>
11#include <linux/sched.h> 13#include <linux/sched.h>
@@ -565,7 +567,7 @@ static int __init privcmd_init(void)
565 567
566 err = misc_register(&privcmd_dev); 568 err = misc_register(&privcmd_dev);
567 if (err != 0) { 569 if (err != 0) {
568 printk(KERN_ERR "Could not register Xen privcmd device\n"); 570 pr_err("Could not register Xen privcmd device\n");
569 return err; 571 return err;
570 } 572 }
571 return 0; 573 return 0;