]> Pileus Git - ~andy/linux/blobdiff - net/tipc/handler.c
tipc: use standard printk shortcut macros (pr_err etc.)
[~andy/linux] / net / tipc / handler.c
index 9c6f22ff1c6d663c4ebda76803feb80628cc1c30..7a52d3922f3c2bde5b220cc96db7964fbe566e7a 100644 (file)
@@ -57,14 +57,14 @@ unsigned int tipc_k_signal(Handler routine, unsigned long argument)
        struct queue_item *item;
 
        if (!handler_enabled) {
-               err("Signal request ignored by handler\n");
+               pr_err("Signal request ignored by handler\n");
                return -ENOPROTOOPT;
        }
 
        spin_lock_bh(&qitem_lock);
        item = kmem_cache_alloc(tipc_queue_item_cache, GFP_ATOMIC);
        if (!item) {
-               err("Signal queue out of memory\n");
+               pr_err("Signal queue out of memory\n");
                spin_unlock_bh(&qitem_lock);
                return -ENOMEM;
        }