diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2005-12-14 22:09:41 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2005-12-14 22:09:41 +0000 |
commit | 4a78badcb9c29a3be385683dc20bc287914efaa1 (patch) | |
tree | 0784d815bdfc6af027234cd28051dbfa43c380fb /usr.bin/xlint/lint1/err.c | |
parent | 3b72fec090a7a67006c8f1b0a7760fe69aaabae4 (diff) |
Move arg # to start of message. Makes it slighly more useful
even when display is truncated due to long file name.
ok cloder
Diffstat (limited to 'usr.bin/xlint/lint1/err.c')
-rw-r--r-- | usr.bin/xlint/lint1/err.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xlint/lint1/err.c b/usr.bin/xlint/lint1/err.c index 7b1740fbf03..ba64269c3eb 100644 --- a/usr.bin/xlint/lint1/err.c +++ b/usr.bin/xlint/lint1/err.c @@ -1,4 +1,4 @@ -/* $OpenBSD: err.c,v 1.14 2005/12/10 19:19:31 cloder Exp $ */ +/* $OpenBSD: err.c,v 1.15 2005/12/14 22:09:40 kjell Exp $ */ /* $NetBSD: err.c,v 1.8 1995/10/02 17:37:00 jpo Exp $ */ /* @@ -33,7 +33,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: err.c,v 1.14 2005/12/10 19:19:31 cloder Exp $"; +static char rcsid[] = "$OpenBSD: err.c,v 1.15 2005/12/14 22:09:40 kjell Exp $"; #endif /* number of errors found */ @@ -312,7 +312,7 @@ const char *msgs[] = { "unterminated comment", /* 256 */ "extra characters in lint comment", /* 257 */ "unterminated string constant", /* 258 */ - "conversion to '%s' due to prototype, arg #%d", /* 259 */ + "arg #%d converted to '%s' by prototype", /* 259 */ "previous declaration of %s", /* 260 */ "previous definition of %s", /* 261 */ "\\\" inside character constants undefined in traditional C", /* 262 */ |