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