diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2015-12-29 23:10:44 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-12-29 23:17:16 +0100 |
commit | d73d717ecac42457f12a2d843454ecda3aa7b004 (patch) | |
tree | 2e023dd0c558be020b9dda9098977b9f4d49fe28 /nfs | |
parent | 8c49801c8f7e3f800cabedf8fca8ccec3cf35a22 (diff) |
fix compiler warnings in hurd/nfs and hurd/nfsd
nfs: Fix compiler warnings.
* nfs/ops.c (netfs_get_dirents): Initialize buf.
* nfsd/nfsd.h: Define cache_handle_array union.
* nfsd/cache.c: Use new cache_handle_array union.
* nfds/ops.c: Likewise.
Diffstat (limited to 'nfs')
-rw-r--r-- | nfs/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1819,7 +1819,7 @@ netfs_get_dirents (struct iouser *cred, struct node *np, mach_msg_type_number_t *datacnt, vm_size_t bufsiz, int *amt) { - void *buf; + void *buf = NULL; size_t our_bufsiz, allocsize; void *bp; char *userdp; |