From: John L. Hammond Date: Wed, 15 Jun 2016 15:34:50 +0000 (-0500) Subject: LU-5969 procfs: restore missing newline for version param X-Git-Tag: 2.8.55~3 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F09%2F20809%2F2;p=fs%2Flustre-release.git 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 --- 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);