diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-02-16 21:17:02 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-02-16 21:17:02 +0200 |
commit | 478829a0f22753b6aa6e8a2227167370a5cf5a37 (patch) | |
tree | c12044c1f5e541c6290c88292f1194cd199f6098 /msg.c | |
parent | db17aa722cd00f3cf5b7660c3badd3b4b29a648c (diff) | |
download | egawk-478829a0f22753b6aa6e8a2227167370a5cf5a37.tar.gz egawk-478829a0f22753b6aa6e8a2227167370a5cf5a37.tar.bz2 egawk-478829a0f22753b6aa6e8a2227167370a5cf5a37.zip |
Fix line numbers in lint warnings.
Diffstat (limited to 'msg.c')
-rw-r--r-- | msg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -55,7 +55,8 @@ err(const char *s, const char *emsg, va_list argp) srcfile = NULL; } #endif /* GAWKDEBUG */ - if (sourceline != 0) { + + if (sourceline > 0) { if (source != NULL) (void) fprintf(stderr, "%s:", source); else |