diff options
Diffstat (limited to 'chip/host')
-rw-r--r-- | chip/host/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/host/system.c b/chip/host/system.c index 80e43ffcb1..b685d86a7d 100644 --- a/chip/host/system.c +++ b/chip/host/system.c @@ -219,7 +219,7 @@ int system_set_scratchpad(uint32_t value) { FILE *f = get_persistent_storage("scratchpad", "w"); - fprintf(f, "%lu", value); + fprintf(f, "%u", value); release_persistent_storage(f); return EC_SUCCESS; |