From 5f226a4a811f70170a3d1818463d4f9c15a21c85 Mon Sep 17 00:00:00 2001 From: On behalf of John Marshall <lh3@sanger.ac.uk> Date: Mon, 11 Jan 2010 23:51:49 +0000 Subject: [PATCH] Put the right filename in the error message. --- faidx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faidx.c b/faidx.c index 811bdf8..dbd8b3e 100644 --- a/faidx.c +++ b/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; } -- 2.39.5