X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=blobdiff_plain;f=sfxstr.c;h=b9a048e011d62f9fe995e1a02d2afbeb0ac0c7e5;hb=4c55f26d2c20f7a7d6a02df9ebf3ac8b179b3f2b;hp=3429470c9a3367aa6b3bcfdd5ba4e5cb0394c4eb;hpb=20f2d732900dbb8cc6668af3c06d9da9006bb327;p=tedtools.git diff --git a/sfxstr.c b/sfxstr.c index 3429470..b9a048e 100644 --- a/sfxstr.c +++ b/sfxstr.c @@ -1021,7 +1021,7 @@ SFSWriteDump(SFSTree *info, char *filename, void *extradata, u_int32_t extrasize SFSTreeDumpHeader dh; if ( (fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666)) < 0 ) - tlog(TL_CRIT|TL_EXIT, "Can not open file '%s': %s", strerror(errno)); + tlog(TL_CRIT|TL_EXIT, "Can not open file '%s': %s", filename, strerror(errno)); if ( flock(fd, LOCK_EX) < 0 ) tlog(TL_CRIT|TL_EXIT, "flock failed: %s", strerror(errno));