diff options
author | Andrew Morton <akpm@osdl.org> | 2003-09-21 01:41:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-21 01:41:13 -0700 |
commit | deb13f6316ef5851a0a9c94d37a38f4526bfcd59 (patch) | |
tree | a98a75c290f3bfc7fa32b74de47ab5891f952121 /scripts | |
parent | 47b333923f56feb167b56ce55ddf1ff2210dd501 (diff) | |
download | history-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.c | 2 |
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(); } |