... | ... |
@@ -496,7 +496,7 @@ static void rpc_fetch_add_stat(rpc_t* rpc, void* ctx, void* hst, char* g, char* |
496 | 496 |
|
497 | 497 |
snprintf(nbuf, 127, "%s.%s", g, n); |
498 | 498 |
if (numeric) { |
499 |
- res = rpc->struct_add(hst, "d", nbuf, val); |
|
499 |
+ res = rpc->struct_add(hst, "j", nbuf, val); |
|
500 | 500 |
} else { |
501 | 501 |
res = rpc->struct_printf(hst, nbuf, "%lu", val); |
502 | 502 |
} |