fix missing %s

This commit is contained in:
Alcaro 2017-11-27 17:16:22 +01:00 committed by GitHub
parent 6394e30cb5
commit a96e3e1ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -892,7 +892,7 @@ void config_set_uint64(config_file_t *conf, const char *key, uint64_t val)
char buf[128];
buf[0] = '\0';
snprintf(buf, sizeof(buf), PRIu64, val);
snprintf(buf, sizeof(buf), "%" PRIu64, val);
config_set_string(conf, key, buf);
}