diff options
author | daveh86 <howsdav@gmail.com> | 2015-04-23 09:49:36 +1000 |
---|---|---|
committer | David Hows <howsdav@gmail.com> | 2015-05-01 12:14:36 +1000 |
commit | 16fc16b0135599f3cc8fd7ad4e6367853a1c4002 (patch) | |
tree | 8dd2b9b3ec118a7af28ec6d2f8c8a6558a952bec /test/utility | |
parent | 65255ea496bc8d4ff7b766b06396e5c7b1ea43ce (diff) | |
download | mongo-16fc16b0135599f3cc8fd7ad4e6367853a1c4002.tar.gz |
Changes by s_all
Diffstat (limited to 'test/utility')
-rw-r--r-- | test/utility/util.c | 8 | ||||
-rw-r--r-- | test/utility/util.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/test/utility/util.c b/test/utility/util.c index 3f97bef4b3c..be97c7dd030 100644 --- a/test/utility/util.c +++ b/test/utility/util.c @@ -55,7 +55,7 @@ char * testutil_workdir_from_path(char *dir) { char *buffer; - if(dir == NULL){ + if (dir == NULL) { dir = "."; } int inputSize = strlen(dir); @@ -69,7 +69,7 @@ testutil_workdir_from_path(char *dir) sprintf(buffer, "%s/WT_TEST", dir); #endif printf("returning buffer of %s\n", buffer); - return buffer; + return (buffer); } void @@ -94,8 +94,8 @@ testutil_make_workdir(char *dir) testutil_clean_workdir(dir); - /* Mkdir shares syntax between windows and linux */ + /* mkdir shares syntax between windows and Linux */ sprintf(CMD, "mkdir %s", dir); if ((ret = system(CMD)) != 0) die(ret, "directory create call failed"); -}
\ No newline at end of file +} diff --git a/test/utility/util.h b/test/utility/util.h index 2802e5f3d40..4fcbcb30ded 100644 --- a/test/utility/util.h +++ b/test/utility/util.h @@ -33,4 +33,4 @@ void die(int, const char *, ...) #if defined(__GNUC__) __attribute__((noreturn)) #endif -;
\ No newline at end of file +; |