Index: 18.85/scripts/pp_db.c
--- 18.85/scripts/pp_db.c Fri, 31 May 2002 17:20:09 +1000 kaos (linux-2.4/T/f/42_pp_db.c 1.17 644)
+++ 18.85(w)/scripts/pp_db.c Tue, 04 Jun 2002 10:17:10 +1000 kaos (linux-2.4/T/f/42_pp_db.c 1.17 644)
@@ -305,7 +305,7 @@ ppdb_free_space(PPDB * db, int size)
}
oldmap = db->header;
ppdb_close(db);
- if (munmap(db->header, oldsize)) {
+ if (munmap(oldmap, oldsize)) {
fprintf(stderr, "%s: munmap(%s) failed: %m\n", program,
ppdb_name);
abort();
The previous coding error will have corrupted the database so rm .tmp_db_main.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/