git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
FBSD: initialize 'retval' for afs3_syscall
[openafs.git]
/
src
/
afs
/
afs_syscall.c
diff --git
a/src/afs/afs_syscall.c
b/src/afs/afs_syscall.c
index
bf480d1
..
b2b644a
100644
(file)
--- a/
src/afs/afs_syscall.c
+++ b/
src/afs/afs_syscall.c
@@
-476,7
+476,8
@@
afs3_syscall(struct thread *p, void *args)
long parm5;
long parm6;
} *uap = (struct a *)args;
- long *retval;
+ long fbsd_ret = 0;
+ long *retval = &fbsd_ret;
#elif defined(AFS_NBSD40_ENV)
int
afs3_syscall(struct lwp *p, const void *args, register_t *retval)