summaryrefslogtreecommitdiff
path: root/usr/src/cmd/filebench/common
diff options
context:
space:
mode:
authorek110237 <none@none>2007-10-10 10:19:49 -0700
committerek110237 <none@none>2007-10-10 10:19:49 -0700
commit40dce74339887470a9ebab4d0672d2cebbc1ec4b (patch)
tree2d2e80a501165fd757963a8eb82f809b44cb6580 /usr/src/cmd/filebench/common
parentc4f4b3c8232326fe57ccd8f2cf3077d3d309163e (diff)
downloadillumos-joyent-40dce74339887470a9ebab4d0672d2cebbc1ec4b.tar.gz
6614464 need to build 64bit go_filebench
Diffstat (limited to 'usr/src/cmd/filebench/common')
-rw-r--r--usr/src/cmd/filebench/common/filebench.h2
-rw-r--r--usr/src/cmd/filebench/common/misc.c5
2 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/cmd/filebench/common/filebench.h b/usr/src/cmd/filebench/common/filebench.h
index 0e6ce15e8a..eb8e78f4e9 100644
--- a/usr/src/cmd/filebench/common/filebench.h
+++ b/usr/src/cmd/filebench/common/filebench.h
@@ -102,7 +102,7 @@ int filebench_randomno64(uint64_t *, uint64_t, uint64_t);
#define MIN(x, y) ((x) < (y) ? (x) : (y))
#endif
-#define FILEBENCH_VERSION "1.0.0"
+#define FILEBENCH_VERSION "1.0.1"
#define FILEBENCHDIR "/usr/benchmarks/filebench"
#define FILEBENCH_PROMPT "filebench> "
#define MAX_LINE_LEN 1024
diff --git a/usr/src/cmd/filebench/common/misc.c b/usr/src/cmd/filebench/common/misc.c
index 2d4281fe22..8c5b7e4a2f 100644
--- a/usr/src/cmd/filebench/common/misc.c
+++ b/usr/src/cmd/filebench/common/misc.c
@@ -375,10 +375,9 @@ fatal:
}
} else if (filebench_shm->debug_level > LOG_INFO) {
- (void) fprintf(stdout, "%5ld: %4.3f: %s",
- pid, (now - filebench_shm->epoch) / FSECS,
+ (void) fprintf(stdout, "%5d: %4.3f: %s",
+ (int)pid, (now - filebench_shm->epoch) / FSECS,
line);
-
} else {
(void) fprintf(stdout, "%4.3f: %s",
(now - filebench_shm->epoch) / FSECS,