lkml.org 
[lkml]   [2005]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 9/9] dlm: newline in printks
A couple printk's were missing \n at the end.

Signed-off-by: David Teigland <teigland@redhat.com>

Index: linux/drivers/dlm/device.c
===================================================================
--- linux.orig/drivers/dlm/device.c 2005-06-02 12:58:09.796172200 +0800
+++ linux/drivers/dlm/device.c 2005-06-02 13:16:01.522245072 +0800
@@ -263,7 +263,7 @@

status = misc_register(&newls->ls_miscinfo);
if (status) {
- printk(KERN_ERR "dlm: misc register failed for %s", name);
+ printk(KERN_ERR "dlm: misc register failed for %s\n", name);
dlm_release_lockspace(newls->ls_lockspace, 0);
kfree(newls->ls_miscinfo.name);
kfree(newls);
@@ -466,7 +466,7 @@
req->version[1] > DLM_DEVICE_VERSION_MINOR)) {

printk(KERN_DEBUG "dlm: process %s (%d) version mismatch "
- "user (%d.%d.%d) kernel (%d.%d.%d),",
+ "user (%d.%d.%d) kernel (%d.%d.%d)\n",
current->comm,
current->pid,
req->version[0],
@@ -1102,8 +1102,7 @@

r = misc_register(&ctl_device);
if (r) {
- printk(KERN_ERR "dlm: misc_register failed for control "
- "device\n");
+ printk(KERN_ERR "dlm: misc_register failed for control dev\n");
return r;
}

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-02 10:23    [W:0.038 / U:4.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site