public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Typo in scripts/postmod.c
@ 2003-09-15 10:45 Kristian Høgsberg
  2003-09-20 20:49 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Kristian Høgsberg @ 2003-09-15 10:45 UTC (permalink / raw)
  To: Rusty Russell; +Cc: Linux Kernel Mailing List

Hi Rusty,

There's a small typo in scripts/postmod.c, see patch below.

regards, Kristian

--- orig/linux-2.6.0-test5/scripts/modpost.c    2003-09-08
21:49:55.000000000 +0200
+++ linux-2.6.0-test5/scripts/modpost.c 2003-09-15 12:00:05.000000000 +0200
@@ -193,7 +193,7 @@


         *size = st.st_size;
         map = mmap(NULL, *size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
-       if (mmap == MAP_FAILED) {
+       if (map == MAP_FAILED) {
                 perror(filename);
                 abort();
         }



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Typo in scripts/postmod.c
  2003-09-15 10:45 Typo in scripts/postmod.c Kristian Høgsberg
@ 2003-09-20 20:49 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2003-09-20 20:49 UTC (permalink / raw)
  To: Kristian Høgsberg; +Cc: Rusty Russell, Linux Kernel Mailing List

On Mon, Sep 15, 2003 at 12:45:36PM +0200, Kristian Høgsberg wrote:
> Hi Rusty,
> 
> There's a small typo in scripts/postmod.c, see patch below.

Good spot.
I have applied this to my local tree, and forwarded to Linus.

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-20 20:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-15 10:45 Typo in scripts/postmod.c Kristian Høgsberg
2003-09-20 20:49 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox