From: John Levon <levon@movementarian.org>
Subject: [PATCH 12/18] Add progname to sm_prefix()
Date: Thu, 22 Nov 2018 14:45:16 +0000 [thread overview]
Message-ID: <E1gQCRX-00068O-3V@movementarian.org> (raw)
Signed-off-by: John Levon <levon@movementarian.org>
---
smatch.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/smatch.h b/smatch.h
index 90120f51..db4bb4cf 100644
--- a/smatch.h
+++ b/smatch.h
@@ -232,7 +232,7 @@ extern int sm_nr_errors;
static inline void sm_prefix(void)
{
- sm_printf("%s:%d %s() ", get_filename(), get_lineno(), get_function());
+ sm_printf("%s: %s:%d %s() ", progname, get_filename(), get_lineno(), get_function());
}
static inline void print_implied_debug_msg();
--
2.14.1
reply other threads:[~2018-11-24 1:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1gQCRX-00068O-3V@movementarian.org \
--to=levon@movementarian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).