diff options
author | ek110237 <none@none> | 2007-10-10 10:19:49 -0700 |
---|---|---|
committer | ek110237 <none@none> | 2007-10-10 10:19:49 -0700 |
commit | 40dce74339887470a9ebab4d0672d2cebbc1ec4b (patch) | |
tree | 2d2e80a501165fd757963a8eb82f809b44cb6580 | |
parent | c4f4b3c8232326fe57ccd8f2cf3077d3d309163e (diff) | |
download | illumos-gate-40dce74339887470a9ebab4d0672d2cebbc1ec4b.tar.gz |
6614464 need to build 64bit go_filebench
-rw-r--r-- | usr/src/cmd/filebench/amd64/Makefile | 1 | ||||
-rw-r--r-- | usr/src/cmd/filebench/common/filebench.h | 2 | ||||
-rw-r--r-- | usr/src/cmd/filebench/common/misc.c | 5 | ||||
-rw-r--r-- | usr/src/cmd/filebench/sparcv9/Makefile | 1 |
4 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/cmd/filebench/amd64/Makefile b/usr/src/cmd/filebench/amd64/Makefile index 2d96a03113..8dd1d0d4be 100644 --- a/usr/src/cmd/filebench/amd64/Makefile +++ b/usr/src/cmd/filebench/amd64/Makefile @@ -25,6 +25,7 @@ #ident "%Z%%M% %I% %E% SMI" include ../Makefile.com +include ../../Makefile.cmd.64 FBBINDIRamd64 = $(ROOTFBBINDIR)/amd64 PROGamd64 = $(PROG:%=$(FBBINDIRamd64)/%) 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, diff --git a/usr/src/cmd/filebench/sparcv9/Makefile b/usr/src/cmd/filebench/sparcv9/Makefile index b1d03827ba..539d2b0146 100644 --- a/usr/src/cmd/filebench/sparcv9/Makefile +++ b/usr/src/cmd/filebench/sparcv9/Makefile @@ -25,6 +25,7 @@ #ident "%Z%%M% %I% %E% SMI" include ../Makefile.com +include ../../Makefile.cmd.64 FBBINDIRsparcv9 = $(ROOTFBBINDIR)/sparcv9 PROGsparcv9 = $(PROG:%=$(FBBINDIRsparcv9)/%) |