Salut,
Doug Rabson <[EMAIL PROTECTED]> wrote:
>On Sat, 2003-11-15 at 22:32, Philippe Charnier wrote:
>> Hello,
>>
>> I have a Compaq armada 7800 with a noname pccard ethernet adapter
>> which used to be detected as:
>>
>> rl0: port 0x1100-0x11ff
, rl_driver, rl_devclass, 0, 0);
-DRIVER_MODULE(rl, cardbus, rl_driver, rl_devclass, 0, 0);
DRIVER_MODULE(miibus, rl, miibus_driver, miibus_devclass, 0, 0);
Adding the removed line makes the card work again.
----
Philippe
ksw_total)
@@ -1029,7 +1029,7 @@
);
} else if (n > 1) {
(void)printf(
- "%-11s %*d %8d %8d %5.0f%%\n",
+ "%-12s %*d %8d %8d %5.0f%%\n",
"Total",
hlen,
[0]);
Errx() -> usage()
+ if ((buf = malloc(length)) == 0)
+ err(1, "%s", name);
Name give no information here. And because our malloc doesn't set
errno, err() which makes use of errno now prints garbage. I suggest
errx(1, "malloc failed").
-