flashrom: Check all mmap() calls and print helpful Linux error message.
[coreboot.git] / util / flashrom / flash.h
index 282a44d8c78eb3beee67a856ef6a6838f9f02a92..3d86836a5ab3c4b2541bf4ea3f2e28175341e9a8 100644 (file)
@@ -480,6 +480,7 @@ extern int verbose;
 #define printf_debug(x...) { if (verbose) printf(x); }
 
 /* flashrom.c */
+void mmap_errmsg();
 int map_flash_registers(struct flashchip *flash);
 
 /* layout.c */