mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
linux-system-calls-return-long-20030522
the kernel says they return long. returning int causes sadness. stop being sad.
This commit is contained in:
parent
20656c4a44
commit
ce4f08f0a9
@ -1163,7 +1163,7 @@ struct afssysargs {
|
|||||||
long parm6; /* not actually used - should be removed */
|
long parm6; /* not actually used - should be removed */
|
||||||
};
|
};
|
||||||
/* Linux system calls only set up for 5 arguments. */
|
/* Linux system calls only set up for 5 arguments. */
|
||||||
asmlinkage int afs_syscall(long syscall, long parm1, long parm2, long parm3,
|
asmlinkage long afs_syscall(long syscall, long parm1, long parm2, long parm3,
|
||||||
long parm4)
|
long parm4)
|
||||||
{
|
{
|
||||||
struct afssysargs args, *uap = &args;
|
struct afssysargs args, *uap = &args;
|
||||||
|
Loading…
Reference in New Issue
Block a user