From e1571b27953f2d26a6396b6d8b11d552df180703 Mon Sep 17 00:00:00 2001 From: Florian Pose Date: Thu, 6 May 2010 11:39:08 +0200 Subject: [PATCH] Minor. --- master/cdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/master/cdev.c b/master/cdev.c index 625687cd..2b3532af 100644 --- a/master/cdev.c +++ b/master/cdev.c @@ -3501,7 +3501,8 @@ int eccdev_open(struct inode *inode, struct file *filp) priv = kmalloc(sizeof(ec_cdev_priv_t), GFP_KERNEL); if (!priv) { - EC_ERR("Failed to allocate memory for private data structure.\n"); + EC_MASTER_ERR(cdev->master, + "Failed to allocate memory for private data structure.\n"); return -ENOMEM; }