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

src/afs/afs_call.c

index c7162fb59b526a0603b02f41a5faa90f7a51155c..a323a13be0a3a46a1257e45998172d8dbcb2b622 100644 (file)
@@ -1163,7 +1163,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;