From: Derrick Brashear Date: Thu, 22 May 2003 16:52:58 +0000 (+0000) Subject: STABLE12-linux-system-calls-return-long-20030522 X-Git-Tag: openafs-stable-1_2_10~53 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=14147fbb1b09815a70c604bb2f19171bda3df72d;p=packages%2Fo%2Fopenafs.git STABLE12-linux-system-calls-return-long-20030522 the kernel says they return long. returning int causes sadness. stop being sad. (cherry picked from commit ce4f08f0a9ab6fc7a2c40267aebc48934ec6dfb9) --- diff --git a/src/afs/afs_call.c b/src/afs/afs_call.c index e274f9132..0792f2264 100644 --- a/src/afs/afs_call.c +++ b/src/afs/afs_call.c @@ -1176,7 +1176,7 @@ struct afssysargs { long parm6; /* not actually used - should be removed */ }; /* 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) { struct afssysargs args, *uap = &args;