[SPARC64]: Fix args to 64-bit sys_semctl() via sys_ipc().

Second and third arguments were swapped for whatever reason.

Reported by Tom Callaway.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2008-04-25 02:12:05 -07:00
Родитель b69d3987f4
Коммит 020cfb05f2
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -454,8 +454,8 @@ asmlinkage long sys_ipc(unsigned int call, int first, unsigned long second,
err = sys_semget(first, (int)second, (int)third);
goto out;
case SEMCTL: {
err = sys_semctl(first, third,
(int)second | IPC_64,
err = sys_semctl(first, second,
(int)third | IPC_64,
(union semun) ptr);
goto out;
}