Skip to contentSkip to conversation

gfs2: add newline to printk message

PATCH In review Richard Fearn 2 participants 2 messages Feb 17, 2007 – Feb 21, 2007 GFS2 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gfs2: add newline to printk message

Patch for the 2.6.20 stable tree that adds a missing newline to one of the printk messages in fs/gfs2/ops_fstype.c.

fs/gfs2/ops_fstype.c +1 -1
diff -uprN 2.6.20/fs/gfs2/ops_fstype.c new/fs/gfs2/ops_fstype.c
@@ -840,7 +840,7 @@ static struct super_block* get_gfs2_sb(c
 	}
 
 	printk(KERN_WARNING "GFS2: Unrecognized block device or "
-	       "mount point %s", dev_name);
+	       "mount point %s\n", dev_name);
 
 free_nd:
 	path_release(&nd);
#1 lore raw

Hi,

Sorry for the delay, patch now added to the gfs2 git tree. Thanks,

Steve.

Quoted 19 lines · Richard Fearn

Patch for the 2.6.20 stable tree that adds a missing newline to one of the printk messages in fs/gfs2/ops_fstype.c.

diff -uprN 2.6.20/fs/gfs2/ops_fstype.c new/fs/gfs2/ops_fstype.c

fs/gfs2/ops_fstype.c +1 -1
@@ -840,7 +840,7 @@ static struct super_block* get_gfs2_sb(c
 	}
 
 	printk(KERN_WARNING "GFS2: Unrecognized block device or "
-	       "mount point %s", dev_name);
+	       "mount point %s\n", dev_name);
 
 free_nd:
 	path_release(&nd);