diff options
| author | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-21 03:55:14 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-21 03:55:14 -0700 |
| commit | aad00662730e31461c6fffe493aef04a87d97d49 (patch) | |
| tree | e990baf40baf7e4635b07ac99f0142ff0fb45d9f /scripts/modpost.c | |
| parent | 9715e1df131ec4028e03d6f55fb22d935ee8b972 (diff) | |
| parent | 13cfaf50971b1e8f81d3b704e7ec62ce5ad42e1a (diff) | |
Merge bk://linux-pnp.bkbits.net/pnp-2.5
into home.osdl.org:/home/torvalds/v2.5/linux
Diffstat (limited to 'scripts/modpost.c')
| -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 05369df84c02..5f8629d3425d 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(); } |
