Commit 4a88032f authored by Dimitris Lampridis's avatar Dimitris Lampridis

sw: get rid of GCC warnings

parent e4c55497
......@@ -33,7 +33,7 @@ static void eeprom_backup(unsigned char *eeprom_raw, int sz)
gettimeofday(&tv, NULL);
snprintf(fname, sizeof(fname),
"/tmp/eeprom_dump-%10d%06d.bin", tv.tv_sec, tv.tv_usec);
"/tmp/eeprom_dump-%10ld%06ld.bin", tv.tv_sec, tv.tv_usec);
if ((f = fopen(fname, "wb")) != NULL) {
fprintf(stderr, "backing up EEPROM into %s\n", fname);
fwrite(eeprom_raw, sz, 1, f);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment