Re: Ity-bity fix for apm_bios.c

Gerd Knorr (kraxel@goldbach.isdn.cs.tu-berlin.de)
Fri, 26 Sep 1997 14:06:12 +0200


> Found this problem while compiling the most recent 2.1.56 from
>ftp.kernel.org
> line 960 in apm_bios.c: change KERN_ER to KERN_ERR

BTW: is fixed in 2.1.57

>I don't know how to do diffs yet

Thats easy. Save the original file with a different name (append -2.1.56
for example, this is what I do). Then edit the file, and create a diff
using the diff command:

diff -u drivers/char/apm_bios.c-2.1.56 drivers/char/apm_bios.c

see the diff (and patch) manpage for more information.

Gerd