kernel - Correct syscalls.master for shmat()
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 28 Mar 2010 00:22:11 +0000 (17:22 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 28 Mar 2010 00:22:11 +0000 (17:22 -0700)
* kernel config doesn't understand void *, use caddr_t.  This has no
  effect on the prototypes per-say.

sys/kern/syscalls.master

index e0a65c7..dc06f6c 100644 (file)
                            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); }