summaryrefslogtreecommitdiff
path: root/btrfs-map-logical.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-09-03 20:30:50 +0200
committerDavid Sterba <dsterba@suse.com>2016-09-05 12:20:24 +0200
commit57d1cbd867311d99a2ae5e3cdcffd04460ec372a (patch)
treea1bf6a0e4f4db545b60ab07fa8f5aae9a6e13f68 /btrfs-map-logical.c
parentf919530b3a1d5876d3ce6213dbb0b65b853f2ba8 (diff)
btrfs-progs: print help test to stdout
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'btrfs-map-logical.c')
-rw-r--r--btrfs-map-logical.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c
index f421a50f..f3be1ea8 100644
--- a/btrfs-map-logical.c
+++ b/btrfs-map-logical.c
@@ -193,11 +193,11 @@ static int write_extent_content(struct btrfs_fs_info *fs_info, int out_fd,
static void print_usage(void) __attribute__((noreturn));
static void print_usage(void)
{
- fprintf(stderr, "usage: btrfs-map-logical [options] device\n");
- fprintf(stderr, "\t-l Logical extent to map\n");
- fprintf(stderr, "\t-c Copy of the extent to read (usually 1 or 2)\n");
- fprintf(stderr, "\t-o Output file to hold the extent\n");
- fprintf(stderr, "\t-b Number of bytes to read\n");
+ printf("usage: btrfs-map-logical [options] device\n");
+ printf("\t-l Logical extent to map\n");
+ printf("\t-c Copy of the extent to read (usually 1 or 2)\n");
+ printf("\t-o Output file to hold the extent\n");
+ printf("\t-b Number of bytes to read\n");
exit(1);
}