linux-system-calls-return-long-20030522

the kernel says they return long. returning int causes sadness. stop being sad.
This commit is contained in:
Derrick Brashear 2003-05-22 16:51:08 +00:00
parent 20656c4a44
commit ce4f08f0a9

View File

@ -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;