From 78fa16a2031b0b242e4d7bd441aba0956f9353d2 Mon Sep 17 00:00:00 2001 From: "John L. Hammond" Date: Wed, 15 Jun 2016 10:34:50 -0500 Subject: [PATCH] LU-5969 procfs: restore missing newline for version param In obd_proc_version_seq_show() restore the missing newline at the end of the version param value. Test-Parameters: trivial Signed-off-by: John L. Hammond Change-Id: I7f8eecc418ceb3191650d7dfba8d1e2545af631b Reviewed-on: http://review.whamcloud.com/20809 Reviewed-by: James Simmons Reviewed-by: Frank Zago Tested-by: Jenkins Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Oleg Drokin --- lustre/obdclass/linux/linux-module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdclass/linux/linux-module.c b/lustre/obdclass/linux/linux-module.c index 37cbd24..466a111 100644 --- a/lustre/obdclass/linux/linux-module.c +++ b/lustre/obdclass/linux/linux-module.c @@ -214,7 +214,7 @@ struct miscdevice obd_psdev = { #ifdef CONFIG_PROC_FS static int obd_proc_version_seq_show(struct seq_file *m, void *v) { - seq_printf(m, "lustre: %s", LUSTRE_VERSION_STRING); + seq_printf(m, "lustre: %s\n", LUSTRE_VERSION_STRING); return 0; } LPROC_SEQ_FOPS_RO(obd_proc_version); -- 1.8.3.1