aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2003-09-21 01:41:13 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-09-21 01:41:13 -0700
commitdeb13f6316ef5851a0a9c94d37a38f4526bfcd59 (patch)
treea98a75c290f3bfc7fa32b74de47ab5891f952121 /scripts
parent47b333923f56feb167b56ce55ddf1ff2210dd501 (diff)
downloadhistory-deb13f6316ef5851a0a9c94d37a38f4526bfcd59.tar.gz
[PATCH] Fix typo in scripts/postmod.c
From: Kristian Hogsberg <krh@bitplanet.net> There's a small typo in scripts/postmod.c
Diffstat (limited to 'scripts')
-rw-r--r--scripts/modpost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/modpost.c b/scripts/modpost.c
index 05369df84c02ea..5f8629d3425d35 100644
--- a/scripts/modpost.c
+++ b/scripts/modpost.c
@@ -193,7 +193,7 @@ grab_file(const char *filename, unsigned long *size)
*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();
}