projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Compile and works on OpenSolaris (tested on BeleniX)
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 0ec8e9d5ddd41f88a5e775d1a19d04ca1d001cea..3117d60e5d68e530fde45fed328b7b6bb4e39108 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-1013,7
+1013,7
@@
static void free_shm(void)
struct shmid_ds sbuf;
if (threads) {
- shmdt(threads);
+ shmdt(
(void *)
threads);
threads = NULL;
shmctl(shm_id, IPC_RMID, &sbuf);
}