diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-02 15:01:41 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-02 15:01:41 +0200 |
commit | 69af0d3a3c62120d6571b8e078c1b0d52397785f (patch) | |
tree | f3f6aa99b7a82cf2d545ceb09fd74e60aee8f06b /tools/rsgtutil.c | |
parent | 743a2ddf9f5bd4c9eca521d45c184788c93b4ce8 (diff) | |
parent | aac3d9aed8ff45b191b207f3e8c22bf602f54774 (diff) | |
download | rsyslog-69af0d3a3c62120d6571b8e078c1b0d52397785f.tar.gz rsyslog-69af0d3a3c62120d6571b8e078c1b0d52397785f.tar.bz2 rsyslog-69af0d3a3c62120d6571b8e078c1b0d52397785f.zip |
Merge branch 'v7-stable'
Diffstat (limited to 'tools/rsgtutil.c')
-rw-r--r-- | tools/rsgtutil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/rsgtutil.c b/tools/rsgtutil.c index 095b8066..567dcf4c 100644 --- a/tools/rsgtutil.c +++ b/tools/rsgtutil.c @@ -74,7 +74,7 @@ dumpFile(char *name) if(fp != stdin) fclose(fp); return; -err: fprintf(stderr, "error %d processing file %s\n", r, name); +err: fprintf(stderr, "error %d (%s) processing file %s\n", r, RSGTE2String(r), name); } static void @@ -113,7 +113,7 @@ showSigblkParams(char *name) return; err: if(r != RSGTE_EOF) - fprintf(stderr, "error %d processing file %s\n", r, name); + fprintf(stderr, "error %d (%s) processing file %s\n", r, RSGTE2String(r), name); } static void @@ -145,7 +145,7 @@ detectFileType(char *name) if(fp != stdin) fclose(fp); return; -err: fprintf(stderr, "error %d processing file %s\n", r, name); +err: fprintf(stderr, "error %d (%s) processing file %s\n", r, RSGTE2String(r), name); } static inline int @@ -327,7 +327,7 @@ done: return; err: - fprintf(stderr, "error %d processing file %s\n", r, name); + fprintf(stderr, "error %d (%s) processing file %s\n", r, RSGTE2String(r), name); if(logfp != NULL) fclose(logfp); if(sigfp != NULL) |