summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc/shm.c
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-09-28 13:13:44 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-09-28 13:13:44 +0000
commit31cfe2300d8b9aee110ba0a7213f6befdd3ffce0 (patch)
treef6ecda8e30f2994538ab94c9e5886c1e0067cd03 /libc/misc/sysvipc/shm.c
parent7a2c357151e82fe59ca396c81c5f28efecc0094a (diff)
Atsushi Nemoto writes:
Hi. I found a mismatch between uClibc and kernel in semctl definition. In uClibc/libc/misc/sysvipc/sem.c: static inline _syscall4(int, __semctl, int, semid, int, semnum, int, cmd, union semun *, arg); ... int semctl(int semid, int semnum, int cmd, ...) ... arg = va_arg (ap, union semun); ... return __semctl(semid, semnum, cmd, &arg); But kernel's semctl is: asmlinkage long sys_semctl (int semid, int semnum, int cmd, union semun arg) The last argument is an union semun itself, not a pointer to the union. Here is a patch.
Diffstat (limited to 'libc/misc/sysvipc/shm.c')
0 files changed, 0 insertions, 0 deletions