Re: PATCH: use the right function in reiserfs (resend #3)

From: Marcelo Tosatti (marcelo@conectiva.com.br)
Date: Mon Jul 14 2003 - 08:44:13 EST


Do you reiserfs people have anything pending (so you could merge Alan
patch) or can I apply ?

On Mon, 14 Jul 2003, Alan Cox wrote:

> #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' ) {
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:51 EST