]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
vos print_addr() must call ubik_VL_GetAddrsU with correct level of indirection
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 15 Jul 2009 15:26:12 +0000 (11:26 -0400)
committerRuss Allbery <rra@stanford.edu>
Thu, 16 Jul 2009 01:33:59 +0000 (19:33 -0600)
Reported by Marcus Watts.

print_addr() accepts a afsUUID* and must not pass the address of
that variable to ubik_VL_GetAddrsU.

LICENSE IPL10

Reviewed-on: http://gerrit.openafs.org/101
Verified-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
src/volser/vos.c

index 2078e198986d026a0384f482bbf94c7fa1b5316f..df766d41182f8873c65b6149bcf8b9e1329b3481 100644 (file)
@@ -5161,7 +5161,7 @@ print_addrs(const bulkaddrs * addrs, const afsUUID * m_uuid, int nentries,
                m_addrs.bulkaddrs_val = 0;
                m_addrs.bulkaddrs_len = 0;
                vcode =
-                   ubik_VL_GetAddrsU(cstruct, 0, &m_attrs, &m_uuid,
+                   ubik_VL_GetAddrsU(cstruct, 0, &m_attrs, m_uuid,
                                      (afs_int32 *)&vlcb, &m_nentries, &m_addrs);
                if (vcode) {
                    fprintf(STDERR,