From 423cce4b0a481ef182765e9039d3a45e7fd061ae Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Sat, 3 Jan 2009 14:55:08 +0000 Subject: [PATCH] Fix CID 1187: use PRIu64 instead of %lu for printing a uint64_t. This commit was SVN r20186. --- opal/dss/dss_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/dss/dss_print.c b/opal/dss/dss_print.c index 228e6dbabe..9cb415118b 100644 --- a/opal/dss/dss_print.c +++ b/opal/dss/dss_print.c @@ -478,7 +478,7 @@ int opal_dss_print_pstat(char **output, char *prefix, opal_pstats_t *src, opal_d } asprintf(output, "%snode: %s rank: %d pid: %d cmd: %s state: %c pri: %d #threads: %d Processor: %d\n" - "%s\ttime: %lu VMsize: %lu PeakVMSize: %lu RSS: %lu Share: %lu\n", + "%s\ttime: %lu VMsize: %lu PeakVMSize: %lu RSS: %lu Share: %" PRIu64 "\n", prefx, src->node, src->rank, src->pid, src->cmd, src->state, src->priority, src->num_threads, src->processor, prefx, src->time, src->vsize, src->peak_vsize, src->rss, src->shared_size);