Re: 2.4.13-ac5 && vtun not working

From: David S. Miller (davem@redhat.com)
Date: Wed Oct 31 2001 - 03:30:56 EST


   From: <pcg@goof.com ( Marc) (A.) (Lehmann )>
   Date: Wed, 31 Oct 2001 01:05:00 +0100

   On Mon, Oct 29, 2001 at 05:53:12PM -0800, "David S. Miller" <davem@redhat.com> wrote:
> Basically, don't pass a string lack one "%d" into dev_alloc_name
> because dev_alloc_name() runs sprintf on that string with an
> integer argument.
   
   I fail to follow you - yes, dev_alloc_name calls sprintf on it, but
   sprintf works fine on strings without "%d", and dev_alloc_name also works
   fine (despite a little suboptimal).
   
You're right, it should allow the "string has no '%' at all" case
as well. Please, someone send me a patch which does this.

Franks a lot,
David S. Miller
davem@redhat.com
-
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 : Wed Oct 31 2001 - 21:00:43 EST