public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Kristian Høgsberg" <krh@bitplanet.net>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Typo in scripts/postmod.c
Date: Mon, 15 Sep 2003 12:45:36 +0200	[thread overview]
Message-ID: <3F659850.9000603@bitplanet.net> (raw)

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();
         }



             reply	other threads:[~2003-09-15 10:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15 10:45 Kristian Høgsberg [this message]
2003-09-20 20:49 ` Typo in scripts/postmod.c Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F659850.9000603@bitplanet.net \
    --to=krh@bitplanet.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox