X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=utils.h;h=0991fb95333a3eb37111d1968465655f95fb34cf;hb=f7d64c1502c10b0de87415343e9d6bdac726f155;hp=278e95e9272ca67f36de745dc924f40fd7085ca6;hpb=a95154919f950f86de9104b2b9dcf1f0c7e83387;p=rsem.git diff --git a/utils.h b/utils.h index 278e95e..0991fb9 100644 --- a/utils.h +++ b/utils.h @@ -156,4 +156,9 @@ void genReadFileNames(const char* readFN, int tagType, int read_type, int& s, ch } } +void exitWithError(const char* errmsg) { + fprintf(stderr, "%s\n", errmsg); + exit(-1); +} + #endif