From: David Teigland A couple printk's were missing \n at the end. Signed-off-by: David Teigland Signed-off-by: Andrew Morton --- drivers/dlm/device.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff -puN drivers/dlm/device.c~dlm-device-interface-dlm-newline-in-printks drivers/dlm/device.c --- 25/drivers/dlm/device.c~dlm-device-interface-dlm-newline-in-printks Thu Jun 2 16:40:32 2005 +++ 25-akpm/drivers/dlm/device.c Thu Jun 2 16:40:32 2005 @@ -263,7 +263,7 @@ static int register_lockspace(char *name 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 @@ static int check_version(struct dlm_writ 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 @@ int __init dlm_device_init(void) 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; } _