X-Git-Url: https://git.donarmstrong.com/?p=samtools.git;a=blobdiff_plain;f=padding.c;h=d5fd15fb6a7cf49e782d506ebe74201748f9467e;hp=19b95a9fff07a81759343ee165c2abd3f2d4a0e3;hb=8919a745585a68d671a1301b444e6edf7f4fdd4b;hpb=ed708a64a1fdf9216d022a60e164c669fe2c5828 diff --git a/padding.c b/padding.c index 19b95a9..d5fd15f 100644 --- a/padding.c +++ b/padding.c @@ -284,18 +284,18 @@ int main_pad2unpad(int argc, char *argv[]) } // open file handlers if ((in = samopen(argv[optind], in_mode, fn_list)) == 0) { - fprintf(stderr, "[depad] fail to open \"%s\" for reading.\n", argv[optind]); + fprintf(stderr, "[depad] failed to open \"%s\" for reading.\n", argv[optind]); ret = 1; goto depad_end; } if (in->header == 0) { - fprintf(stderr, "[depad] fail to read the header from \"%s\".\n", argv[optind]); + fprintf(stderr, "[depad] failed to read the header from \"%s\".\n", argv[optind]); ret = 1; goto depad_end; } /* TODO - The reference sequence lengths in the BAM + SAM headers should be updated */ if ((out = samopen(fn_out? fn_out : "-", out_mode, in->header)) == 0) { - fprintf(stderr, "[depad] fail to open \"%s\" for writing.\n", fn_out? fn_out : "standard output"); + fprintf(stderr, "[depad] failed to open \"%s\" for writing.\n", fn_out? fn_out : "standard output"); ret = 1; goto depad_end; }