Re: [Cluster-devel] [PATCH 2/3] fsck.gfs2: Simplify bad_journalname

2015-01-28 Thread Bob Peterson
- Original Message - Remove the need for a temporary string and strncpy call by passing the length of the string to printf. Signed-off-by: Andrew Price anpr...@redhat.com --- gfs2/fsck/initialize.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

Re: [Cluster-devel] [PATCH 2/3] fsck.gfs2: Simplify bad_journalname

2015-01-28 Thread Andrew Price
On 28/01/15 13:13, Bob Peterson wrote: - Original Message - Remove the need for a temporary string and strncpy call by passing the length of the string to printf. Signed-off-by: Andrew Price anpr...@redhat.com --- gfs2/fsck/initialize.c | 8 ++-- 1 file changed, 2 insertions(+),

[Cluster-devel] [PATCH 2/3] fsck.gfs2: Simplify bad_journalname

2015-01-27 Thread Andrew Price
Remove the need for a temporary string and strncpy call by passing the length of the string to printf. Signed-off-by: Andrew Price anpr...@redhat.com --- gfs2/fsck/initialize.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gfs2/fsck/initialize.c