From: jeffm@suse.com
To: linux-btrfs@vger.kernel.org
Cc: Jeff Mahoney <jeffm@suse.com>
Subject: [PATCH 2/5] btrfs-progs: convert: add missing newlines for printfs
Date: Thu, 27 Jul 2017 11:47:20 -0400 [thread overview]
Message-ID: <20170727154723.2208-3-jeffm@suse.com> (raw)
In-Reply-To: <20170727154723.2208-1-jeffm@suse.com>
From: Jeff Mahoney <jeffm@suse.com>
There are two printfs with missing newlines that end up making the
output wonky.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
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);
--
2.11.0
next prev parent reply other threads:[~2017-07-27 15:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-27 15:47 [PATCH 0/5 v2] btrfs-progs: convert fixes + reiserfs support jeffm
2017-07-27 15:47 ` [PATCH 1/5] btrfs-progs: convert: properly handle reserved ranges while iterating files jeffm
2017-07-28 1:12 ` Qu Wenruo
2017-07-27 15:47 ` jeffm [this message]
2017-07-28 1:24 ` [PATCH 2/5] btrfs-progs: convert: add missing newlines for printfs Qu Wenruo
2017-07-27 15:47 ` [PATCH 3/5] btrfs-progs: convert: use search_cache_extent in migrate_one_reserved_range jeffm
2017-07-28 1:20 ` Qu Wenruo
2017-07-27 15:47 ` [PATCH 4/5] btrfs-progs: tests: fix typo in convert-tests/008-readonly-image jeffm
2017-07-28 1:27 ` Qu Wenruo
2017-07-31 17:01 ` Jeff Mahoney
2017-07-31 7:35 ` Lakshmipathi.G
2017-07-27 15:47 ` [PATCH 5/5] btrfs-progs: convert: add support for converting reiserfs jeffm
2017-08-22 18:14 ` [PATCH 0/5 v2] btrfs-progs: convert fixes + reiserfs support David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170727154723.2208-3-jeffm@suse.com \
--to=jeffm@suse.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).