Wrong patch in 2.1.56: FIX

Carlo E. Prelz (fluido@marktest.pt)
Sat, 20 Sep 1997 11:39:20 +0100 (WET DST)


Hi. The 2.1.56 patch introduced a small error in drivers/char/apm_bios.c
Here is how to put your kernel back in shape:

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

--- drivers/char/apm_bios.c~ Sat Sep 20 11:25:18 1997
+++ drivers/char/apm_bios.c Sat Sep 20 11:34:14 1997
@@ -958,7 +958,7 @@

as = (struct apm_bios_struct *)kmalloc(sizeof(*as), GFP_KERNEL);
if (as == NULL) {
- printk(KERN_ER "apm_bios: cannot allocate struct of size %d bytes",
+ printk(KERN_ERR "apm_bios: cannot allocate struct of size %d bytes",
sizeof(*as));
return -ENOMEM;
}

--8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<----8<--

Ciao
Carlo

--
  *                                          ...Ma appena fuori tutto e' gomma,
* K * Carlo E. Prelz - fluido@marktest.pt     tutto e' cicca impiastricciata...
  *                                     (Marco Zappa-Niente cicca nella scuola)