From: KOVACS Krisztian <hidden@balabit.hu>
To: "netfilter-devel" <netfilter-devel@lists.netfilter.org>
Cc: laforge@netfilter.org, rusty@netfilter.org
Subject: [PATCH] nfsim: trivial format string typo fix
Date: Wed, 2 Nov 2005 15:17:44 +0100 [thread overview]
Message-ID: <200511021517.45463@nienna> (raw)
[-- Attachment #1: Type: text/plain, Size: 233 bytes --]
Hi,
While playing with nfsim and nf_conntrack this weekend, I've found a
trivial typo in core/core.c. Please apply the attached patch. (Yes,
it's trivial but obviously it causes a segfault.)
--
Regards,
Krisztian Kovacs
[-- Attachment #2: nfsim-trivial_format_string_typo_fix.patch --]
[-- Type: text/x-diff, Size: 407 bytes --]
Index: nfsim/core/core.c
===================================================================
--- nfsim/core/core.c (revision 4423)
+++ nfsim/core/core.c (working copy)
@@ -386,7 +386,7 @@
for (p = __start_module_init; p < __stop_module_init; p++) {
ret = (*p)();
if (ret)
- nfsim_log(LOG_UI, "Initcall %p failed: %s\n", p, ret);
+ nfsim_log(LOG_UI, "Initcall %p failed: %d\n", p, ret);
}
}
next reply other threads:[~2005-11-02 14:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-02 14:17 KOVACS Krisztian [this message]
2005-11-02 17:37 ` [PATCH] nfsim: trivial format string typo fix Harald Welte
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=200511021517.45463@nienna \
--to=hidden@balabit.hu \
--cc=laforge@netfilter.org \
--cc=netfilter-devel@lists.netfilter.org \
--cc=rusty@netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.