Re: [idea] request_module(const char *fmt, ...);

Horst von Brand (vonbrand@pincoya.inf.utfsm.cl)
Wed, 12 Jan 2000 14:44:27 -0300


Tigran Aivazian <tigran@sco.COM> said:

[...]

> I thought va_start/va_end magic handles that automatically, i.e. if
> sprintf(buf, "%s", "hello") does the same as sprintf(buf, "hello") then
> our new request_module() should work fine as well.

What about:

sprintf(buf, "%s", "foo-%s");

vs

sprintf(buf, "foo-%s");
?

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/