From 2950f613462a892c1847281e5ce9f4257c082d89 Mon Sep 17 00:00:00 2001 From: Shane Snyder Date: Mon, 2 Nov 2015 16:41:44 -0600 Subject: [PATCH] fix random typos in comments --- darshan-log-format.h | 2 +- darshan-runtime/lib/darshan-core.c | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/darshan-log-format.h b/darshan-log-format.h index 22712fc..c1cce4d 100644 --- a/darshan-log-format.h +++ b/darshan-log-format.h @@ -86,7 +86,7 @@ typedef uint64_t darshan_record_id; /* the darshan_log_map structure is used to indicate the location of * specific module data in a Darshan log. Note that 'off' and 'len' are * the respective offset and length of the data in the file, in - * *uncompressed* terms + * *compressed* terms */ struct darshan_log_map { diff --git a/darshan-runtime/lib/darshan-core.c b/darshan-runtime/lib/darshan-core.c index 74fd0b1..c8f1e9d 100644 --- a/darshan-runtime/lib/darshan-core.c +++ b/darshan-runtime/lib/darshan-core.c @@ -209,14 +209,14 @@ void darshan_core_initialize(int argc, char **argv) /* collect information about command line and mounted file systems */ darshan_core->trailing_data = darshan_get_exe_and_mounts(darshan_core); - } - /* maybe bootstrap modules with static initializers */ - i = 0; - while(mod_static_init_fns[i]) - { - (*mod_static_init_fns[i])(); - i++; + /* bootstrap any modules with static initialization routines */ + i = 0; + while(mod_static_init_fns[i]) + { + (*mod_static_init_fns[i])(); + i++; + } } } @@ -980,7 +980,7 @@ static void darshan_get_exe_and_mounts_root(struct darshan_core_runtime *core, NULL }; - /* length of exe has already been safety checked in darshan-posix.c */ + /* length of exe has already been safety checked in darshan initialization */ strcat(trailing_data, core->exe); space_left = DARSHAN_EXE_LEN - strlen(trailing_data); -- 2.26.2