~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to modules/linux/vsock/linux/vsockAddr.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-03-20 10:19:00 UTC
  • mfrom: (1.1.4 upstream) (2.4.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090320101900-1o604camiubq2de8
Tags: 2009.03.18-154848-2
Correcting patch system depends (Closes: #520493).

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
   ASSERT(addr);
70
70
   memset(addr, 0, sizeof *addr);
71
71
   VSockAddr_InitNoFamily(addr, cid, port);
72
 
   addr->svm_family = VMCISock_GetAFValue();
 
72
   addr->svm_family = VMCISockGetAFValueInt();
73
73
   VSOCK_ADDR_ASSERT(addr);
74
74
}
75
75
 
137
137
      goto exit;
138
138
   }
139
139
 
140
 
   if (VMCISock_GetAFValue() != addr->svm_family) {
 
140
   if (VMCISockGetAFValueInt() != addr->svm_family) {
141
141
      err = EAFNOSUPPORT;
142
142
      goto exit;
143
143
   }