linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH: use the right function in reiserfs (resend #3)
@ 2003-07-14 12:30 Alan Cox
  2003-07-14 13:44 ` Marcelo Tosatti
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2003-07-14 12:30 UTC (permalink / raw)
  To: linux-kernel, marcelo

#ra1
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/fs/reiserfs/prints.c linux.22-pre5-ac1/fs/reiserfs/prints.c
--- linux.22-pre5/fs/reiserfs/prints.c	2003-07-14 12:27:42.000000000 +0100
+++ linux.22-pre5-ac1/fs/reiserfs/prints.c	2003-07-06 14:06:59.000000000 +0100
@@ -159,7 +159,7 @@
 
   *skip = 0;
   
-  while ((k = strstr (k, "%")) != NULL)
+  while ((k = strchr (k, '%')) != NULL)
   {
     if (k[1] == 'k' || k[1] == 'K' || k[1] == 'h' || k[1] == 't' ||
 	      k[1] == 'z' || k[1] == 'b' || k[1] == 'y' || k[1] == 'a' ) {

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-14 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-14 12:30 PATCH: use the right function in reiserfs (resend #3) Alan Cox
2003-07-14 13:44 ` Marcelo Tosatti
2003-07-14 13:59   ` Oleg Drokin

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 NNTP newsgroup(s).