From: Matthew Dillon Date: Sun, 28 Mar 2010 00:22:11 +0000 (-0700) Subject: kernel - Correct syscalls.master for shmat() X-Git-Tag: v2.7.0~6 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/0c614908023d3a97ee9162ffe4e92fce760d5f16 kernel - Correct syscalls.master for shmat() * kernel config doesn't understand void *, use caddr_t. This has no effect on the prototypes per-say. --- diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index e0a65c7747..dc06f6c972 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -361,7 +361,7 @@ int msgflg); } 227 STD BSD { int msgrcv(int msqid, void *msgp, size_t msgsz, \ long msgtyp, int msgflg); } -228 STD BSD { void *shmat(int shmid, void *shmaddr, int shmflg); } +228 STD BSD { caddr_t shmat(int shmid, void *shmaddr, int shmflg); } 229 STD BSD { int shmctl(int shmid, int cmd, \ struct shmid_ds *buf); } 230 STD BSD { int shmdt(void *shmaddr); }