Re: [PATCH 2/5] btrfs-progs: convert: add missing newlines for printfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2017年07月27日 23:47, jeffm@xxxxxxxx wrote:
From: Jeff Mahoney <jeffm@xxxxxxxx>

There are two printfs with missing newlines that end up making the
output wonky.

Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>

Those are the only two missing newline in convert/.
No missing.

Reviewed-by: Qu Wenruo <quwenruo.btrfs@xxxxxxx>

Thanks,
Qu

---
  convert/main.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/convert/main.c b/convert/main.c
index c56382e..01657a6 100644
--- a/convert/main.c
+++ b/convert/main.c
@@ -1285,7 +1285,7 @@ static int do_convert(const char *devname, u32 convert_flags, u32 nodesize,
  		goto fail;
  	}
- printf("creating btrfs metadata");
+	printf("creating btrfs metadata\n");
  	ctx.max_copy_inodes = (cctx.inodes_count - cctx.free_inodes_count);
  	ctx.cur_copy_inodes = 0;
@@ -1348,7 +1348,7 @@ static int do_convert(const char *devname, u32 convert_flags, u32 nodesize,
  	close_ctree(root);
  	close(fd);
- printf("conversion complete");
+	printf("conversion complete\n");
  	return 0;
  fail:
  	clean_convert_context(&cctx);

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux