Commit deb13f63 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix typo in scripts/postmod.c

From: Kristian Hogsberg <krh@bitplanet.net>

There's a small typo in scripts/postmod.c
parent 47b33392
......@@ -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();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment