]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-linux-system-calls-return-long-20030522
authorDerrick Brashear <shadow@dementia.org>
Thu, 22 May 2003 16:52:58 +0000 (16:52 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 22 May 2003 16:52:58 +0000 (16:52 +0000)
the kernel says they return long. returning int causes sadness. stop being sad.

(cherry picked from commit ce4f08f0a9ab6fc7a2c40267aebc48934ec6dfb9)

src/afs/afs_call.c

index e274f9132d23f7f36746defc6698d49c983c68d9..0792f2264ce56f07325d42b66532f63a59afd70e 100644 (file)
@@ -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;