mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: [patch 6/6] process filtering for fault-injection capabilities [bug fix]
@ 2006-09-06 16:07 Don Mullis
  0 siblings, 0 replies; only message in thread
From: Don Mullis @ 2006-09-06 16:07 UTC (permalink / raw)
  To: lkml

Type agreement in sscanf().

Signed-off-by: Don Mullis <dwm@meer.net>

---
 lib/should_fail.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.17/lib/should_fail.c
===================================================================
--- linux-2.6.17.orig/lib/should_fail.c
+++ linux-2.6.17/lib/should_fail.c
@@ -16,7 +16,7 @@ int setup_should_fail(struct should_fail
 	unsigned long filter;
 
 	/* "<probability>,<interval>,<times>,<space>,<process-filter>" */
-	if (sscanf(str, "%lu,%lu,%d,%d,%d", &probability, &interval, &times,
+	if (sscanf(str, "%lu,%lu,%d,%d,%lu", &probability, &interval, &times,
 		   &space, &filter) < 5)
 		return 0;
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-06 16:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-06 16:07 [patch 6/6] process filtering for fault-injection capabilities [bug fix] Don Mullis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®