
23 Jun
2008
23 Jun
'08
10:40 p.m.
DS> +bool infostore_set_u64(struct infostore_ctx *ctx, const char *key, uint64_t val) DS> +{ DS> + char *sval = NULL; DS> + DS> + if (asprintf(&sval, "%" PRIu64, val) == -1) { DS> + CU_DEBUG("Failed to format u64 string"); DS> + sval = NULL; DS> + goto out; DS> + } DS> + DS> + xpath_set_string(ctx, key, sval); DS> + out: DS> + free(sval); DS> + DS> + return false; DS> +} Looks like I forgot to refresh the patch before sending it out. It's fixed locally, I promise :) -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com