summaryrefslogtreecommitdiff
path: root/src/drivers/spi/sst.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi/sst.c')
-rw-r--r--src/drivers/spi/sst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi/sst.c b/src/drivers/spi/sst.c
index c5bec12b66..8245f726a7 100644
--- a/src/drivers/spi/sst.c
+++ b/src/drivers/spi/sst.c
@@ -195,7 +195,7 @@ sst_write(struct spi_flash *flash, u32 offset, size_t len, const void *buf)
done:
printk(BIOS_INFO, "SF: SST: program %s %zu bytes @ 0x%lx\n",
- ret ? "failure" : "success", len, offset - actual);
+ ret ? "failure" : "success", len, (unsigned long)offset - actual);
spi_release_bus(flash->spi);
return ret;