Skip to contentSkip to conversation

nfsim: trivial format string typo fix

PATCH Applied KOVACS Krisztian 2 participants 2 messages Nov 2, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfsim: trivial format string typo fix

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.)

Signature · 2 lines
 Regards,
  Krisztian Kovacs
core/core.c +1 -1
Index: nfsim/core/core.c
===================================================================
@@ -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);
 	}
 }
 
Applied
#1 lore raw
Quoted 6 lines · KOVACS Krisztian

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.)

applied, thanks

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie