X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=pysam.git;a=blobdiff_plain;f=samtools%2Ffaidx.c;fp=samtools%2Ffaidx.c;h=dbd8b3e48db4c7a041304b7419fd7ab868badd90;hp=811bdf8858ff9ef18479fb644981ad4780bf7a8d;hb=6a7c3f175b210cc16d09a5e8e4c1d47333dbe1c6;hpb=aa8ecff068edbb09a03bd874fce716e93e22e53c diff --git a/samtools/faidx.c b/samtools/faidx.c index 811bdf8..dbd8b3e 100644 --- a/samtools/faidx.c +++ b/samtools/faidx.c @@ -197,7 +197,7 @@ int fai_build(const char *fn) sprintf(str, "%s.fai", fn); rz = razf_open(fn, "r"); if (rz == 0) { - fprintf(stderr, "[fai_build] fail to open the FASTA file %s\n",str); + fprintf(stderr, "[fai_build] fail to open the FASTA file %s\n",fn); free(str); return -1; }