summaryrefslogtreecommitdiffstats
path: root/arch/mips64/kernel/linux32.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-09 21:34:29 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-09 21:34:29 +0000
commit913c94403b96b4c381bd40f9588839612d71d2e9 (patch)
tree810e669fed6232fa9d37f8ce830d046d319c9cf0 /arch/mips64/kernel/linux32.c
parent9f2b43b25e6ab17ac47b7754a157e01075cb5ba9 (diff)
Kill warnings in the 64-bit kernel.
Diffstat (limited to 'arch/mips64/kernel/linux32.c')
-rw-r--r--arch/mips64/kernel/linux32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips64/kernel/linux32.c b/arch/mips64/kernel/linux32.c
index dfdc82d24..70746da22 100644
--- a/arch/mips64/kernel/linux32.c
+++ b/arch/mips64/kernel/linux32.c
@@ -957,7 +957,7 @@ sys32_readv(int fd, struct iovec32 *vector, u32 count)
struct file *file;
ssize_t ret;
- file = -EBADF;
+ ret = -EBADF;
file = fget(fd);
if (!file)
goto bad_file;