Whamcloud - gitweb
LU-5969 procfs: restore missing newline for version param 09/20809/2
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 15 Jun 2016 15:34:50 +0000 (10:34 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 20 Jun 2016 00:58:55 +0000 (00:58 +0000)
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 <john.hammond@intel.com>
Change-Id: I7f8eecc418ceb3191650d7dfba8d1e2545af631b
Reviewed-on: http://review.whamcloud.com/20809
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Frank Zago <fzago@cray.com>
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/linux/linux-module.c

index 37cbd24..466a111 100644 (file)
@@ -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)
 {
 #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);
        return 0;
 }
 LPROC_SEQ_FOPS_RO(obd_proc_version);