From: Petr Danecek Date: Thu, 8 Oct 2009 10:39:54 +0000 (+0000) Subject: Removed the offending knet_seek message. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9dd911dc95f6439418ff8939fe182285da44620d;p=samtools.git Removed the offending knet_seek message. --- diff --git a/knetfile.c b/knetfile.c index da992ed..994babb 100644 --- a/knetfile.c +++ b/knetfile.c @@ -536,7 +536,8 @@ off_t knet_seek(knetFile *fp, int64_t off, int whence) * while fseek() returns zero on success. */ off_t offset = lseek(fp->fd, off, whence); if (offset == -1) { - fprintf(stderr,"[knet_seek] %s\n", strerror(errno)); + // Be silent, it is OK for knet_seek to fail when the file is streamed + // fprintf(stderr,"[knet_seek] %s\n", strerror(errno)); return -1; } fp->offset = offset;