summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/filebench/common/procflow.c2
-rw-r--r--usr/src/cmd/filebench/common/threadflow.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/filebench/common/procflow.c b/usr/src/cmd/filebench/common/procflow.c
index d69cb0bcb3..2a5207ca10 100644
--- a/usr/src/cmd/filebench/common/procflow.c
+++ b/usr/src/cmd/filebench/common/procflow.c
@@ -498,7 +498,7 @@ static void
procflow_sleep(procflow_t *procflow, int wait_cnt)
{
while (procflow->pf_running & wait_cnt) {
- sleep(1);
+ (void) sleep(1);
wait_cnt--;
}
}
diff --git a/usr/src/cmd/filebench/common/threadflow.c b/usr/src/cmd/filebench/common/threadflow.c
index 70e28dd218..9a6d96aceb 100644
--- a/usr/src/cmd/filebench/common/threadflow.c
+++ b/usr/src/cmd/filebench/common/threadflow.c
@@ -200,7 +200,7 @@ threadflow_kill(threadflow_t *threadflow)
if (threadflow->tf_running) {
threadflow->tf_running = FALSE;
- pthread_kill(threadflow->tf_tid, SIGKILL);
+ (void) pthread_kill(threadflow->tf_tid, SIGKILL);
}
}