[03/10] resize2fs: Add missing EOL to error message

Message ID 20180530125118.25274-4-jack@suse.cz
State Superseded, archived
Headers show
Series
  • e2fsprogs: Handle s_inodes_count overflow better
Related show

Commit Message

Jan Kara May 30, 2018, 12:51 p.m.
Signed-off-by: Jan Kara <jack@suse.cz>
---
 resize/resize2fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Dilger June 4, 2018, 4:22 a.m. | #1
On May 30, 2018, at 6:51 AM, Jan Kara <jack@suse.cz> wrote:
> 
> Signed-off-by: Jan Kara <jack@suse.cz>

Reviewed-by: Andreas Dilger <adilger@dilger.ca>

> ---
> resize/resize2fs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/resize/resize2fs.c b/resize/resize2fs.c
> index 0bd325bae81d..7afc1342bc88 100644
> --- a/resize/resize2fs.c
> +++ b/resize/resize2fs.c
> @@ -756,7 +756,7 @@ retry:
> 	 */
> 	new_inodes =(unsigned long long) fs->super->s_inodes_per_group * fs->group_desc_count;
> 	if (new_inodes > ~0U) {
> -		fprintf(stderr, _("inodes (%llu) must be less than %u"),
> +		fprintf(stderr, _("inodes (%llu) must be less than %u\n"),
> 				   new_inodes, ~0U);
> 		return EXT2_ET_TOO_MANY_INODES;
> 	}
> --
> 2.13.6
> 


Cheers, Andreas

Patch

diff --git a/resize/resize2fs.c b/resize/resize2fs.c
index 0bd325bae81d..7afc1342bc88 100644
--- a/resize/resize2fs.c
+++ b/resize/resize2fs.c
@@ -756,7 +756,7 @@  retry:
 	 */
 	new_inodes =(unsigned long long) fs->super->s_inodes_per_group * fs->group_desc_count;
 	if (new_inodes > ~0U) {
-		fprintf(stderr, _("inodes (%llu) must be less than %u"),
+		fprintf(stderr, _("inodes (%llu) must be less than %u\n"),
 				   new_inodes, ~0U);
 		return EXT2_ET_TOO_MANY_INODES;
 	}