]> err.no Git - linux-2.6/blobdiff - fs/binfmt_elf.c
ide-cs: Add additional id string (corsair, 1GB)
[linux-2.6] / fs / binfmt_elf.c
index b1013f34085d00ac4b966e895ac58419f4ae3269..f3037c645ca900cdd446ad3f8153e37db8e6d1f5 100644 (file)
@@ -1725,7 +1725,7 @@ static int elf_core_dump(long signr, struct pt_regs *regs, struct file *file)
                                                &page, &vma) <= 0) {
                                DUMP_SEEK(PAGE_SIZE);
                        } else {
-                               if (page == ZERO_PAGE(addr)) {
+                               if (page == ZERO_PAGE(0)) {
                                        if (!dump_seek(file, PAGE_SIZE)) {
                                                page_cache_release(page);
                                                goto end_coredump;