From 57d1cbd867311d99a2ae5e3cdcffd04460ec372a Mon Sep 17 00:00:00 2001 From: David Sterba Date: Sat, 3 Sep 2016 20:30:50 +0200 Subject: btrfs-progs: print help test to stdout Signed-off-by: David Sterba --- btrfs-map-logical.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'btrfs-map-logical.c') 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); } -- cgit v1.2.3