master/cdev.c
changeset 1922 99905e297f33
parent 1921 d9cf40facbc4
child 1931 831f2d34664c
child 1989 6aa393418fb3
--- a/master/cdev.c	Mon May 03 18:07:57 2010 +0200
+++ b/master/cdev.c	Thu May 06 11:39:08 2010 +0200
@@ -3501,7 +3501,8 @@
 
     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;
     }