summaryrefslogtreecommitdiff
path: root/usr/src/cmd/filebench/common/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/filebench/common/misc.c')
-rw-r--r--usr/src/cmd/filebench/common/misc.c5
1 files changed, 2 insertions, 3 deletions
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,