diff options
Diffstat (limited to 'util/flashrom/sst_fwhub.c')
-rw-r--r-- | util/flashrom/sst_fwhub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/sst_fwhub.c b/util/flashrom/sst_fwhub.c index 5d811a6f02..530f726d4b 100644 --- a/util/flashrom/sst_fwhub.c +++ b/util/flashrom/sst_fwhub.c @@ -53,7 +53,7 @@ int probe_sst_fwhub(struct flashchip *flash) return 0; bios = mmap(0, size, PROT_WRITE | PROT_READ, MAP_SHARED, - flash->fd_mem, (off_t) (0xFFFFFFFF - 0x400000 - size + 1)); + fd_mem, (off_t) (0xFFFFFFFF - 0x400000 - size + 1)); if (bios == MAP_FAILED) { // it's this part but we can't map it ... perror("Error MMAP /dev/mem"); |