commit | 2c0ecd28459b6a1b236c865defb5ef76ce8bfa02 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@suse.de> | Thu Jun 08 13:25:41 2006 +0200 |
committer | Jens Axboe <axboe@suse.de> | Thu Jun 08 13:25:41 2006 +0200 |
tree | 8dfda1509b31c7ae89b700ced386ea379de8ea6d | |
parent | e463f17941b272078e9c3d3e043f486b92c85be9 [diff] [blame] |
[PATCH] Compile and works on OpenSolaris (tested on BeleniX)
diff --git a/init.c b/init.c index 0ec8e9d..3117d60 100644 --- a/init.c +++ b/init.c
@@ -1013,7 +1013,7 @@ struct shmid_ds sbuf; if (threads) { - shmdt(threads); + shmdt((void *) threads); threads = NULL; shmctl(shm_id, IPC_RMID, &sbuf); }