From 0c614908023d3a97ee9162ffe4e92fce760d5f16 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 27 Mar 2010 17:22:11 -0700 Subject: [PATCH] kernel - Correct syscalls.master for shmat() * kernel config doesn't understand void *, use caddr_t. This has no effect on the prototypes per-say. --- sys/kern/syscalls.master | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.41.0