[patch 9/9] dlm: newline in printks
From: David Teigland
Date: Thu Jun 02 2005 - 03:20:50 EST
A couple printk's were missing \n at the end.
Signed-off-by: David Teigland <teigland@xxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/