From deb13f6316ef5851a0a9c94d37a38f4526bfcd59 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 21 Sep 2003 01:41:13 -0700 Subject: [PATCH] Fix typo in scripts/postmod.c From: Kristian Hogsberg There's a small typo in scripts/postmod.c --- scripts/modpost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/modpost.c') 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(); } -- cgit v1.2.3